B2.CircleShape:set: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
<br /> | <translate><br /> | ||
Sets the center point and radius of this instance.<br /> | Sets the center point and radius of this instance.<br /> | ||
<br /> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.CircleShape:set(centerx,centery,radius) | b2.CircleShape:set(centerx,centery,radius) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''centerx''': (number, optional) the x coordinate of the center <br/> | '''centerx''': (number, optional) <translate>the x coordinate of the center</translate> <br/> | ||
'''centery''': (number, optional) the y coordinate of the center <br/> | '''centery''': (number, optional) <translate>the y coordinate of the center</translate> <br/> | ||
'''radius''': (number, optional) the radius <br/> | '''radius''': (number, optional) <translate>the radius</translate> <br/> | ||
Revision as of 12:32, 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