Difference between revisions of "B2.CircleShape:set"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the center point and radius of this instance.<br /> <br /> <source lang="lua"> = b2.Circle...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= b2.CircleShape:set(centerxcenteryradius,)
+
b2.CircleShape:set(centerx,centery,radius)
 
</source>
 
</source>
'''centerx:''' (number, optional) the x coordinate of the center ''''''<br/>
+
'''centerx''': (number, optional) the x coordinate of the center ''''''<br/>
'''centery:''' (number, optional) the y coordinate of the center ''''''<br/>
+
'''centery''': (number, optional) the y coordinate of the center ''''''<br/>
'''radius:''' (number, optional) the radius ''''''<br/>
+
'''radius''': (number, optional) the radius ''''''<br/>

Revision as of 10:16, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the center point and radius of this instance.

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

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