Difference between revisions of "B2.CircleShape:set"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.CircleShape|b2.CircleShape]]<br/>
+
'''Class:''' [[Special:MyLanguage/b2.CircleShape|b2.CircleShape]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Sets the center point and radius of this instance.<br />
+
Sets the center point and radius of this instance.
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
b2.CircleShape:set(centerx,centery,radius)
+
b2.CircleShape:set(centerx,centery,radius)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''centerx''': (number, optional) <translate>the x coordinate of the center</translate> <br/>
+
=== Parameters ===
'''centery''': (number, optional) <translate>the y coordinate of the center</translate> <br/>
+
'''centerx''': (number, optional) the x coordinate of the center <br/>
'''radius''': (number, optional) <translate>the radius</translate> <br/>
+
'''centery''': (number, optional) the y coordinate of the center <br/>
 +
'''radius''': (number, optional) the radius <br/>
 +
 
 +
{{B2.CircleShape}}

Revision as of 07:21, 17 February 2020


Available since: Gideros 2011.6
Class: b2.CircleShape

Description

Sets the center point and radius of this instance.

b2.CircleShape:set(centerx,centery,radius)

Parameters

centerx: (number, optional) the x coordinate of the center
centery: (number, optional) the y coordinate of the center
radius: (number, optional) the radius




LiquidFun