B2.CircleShape:set: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
b2.CircleShape:set(centerx,centery,radius) | b2.CircleShape:set(centerx,centery,radius) | ||
</source> | </source> | ||
'''centerx''': (number, optional) the x coordinate of the center | === Parameters === | ||
'''centery''': (number, optional) the y coordinate of the center | '''centerx''': (number, optional) the x coordinate of the center <br/> | ||
'''radius''': (number, optional) the radius | '''centery''': (number, optional) the y coordinate of the center <br/> | ||
'''radius''': (number, optional) the radius <br/> | |||
Revision as of 09:38, 23 August 2018
Available since: Gideros 2011.6
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