Difference between revisions of "B2.CircleShape:set"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate><br /> | <translate><br /> | ||
Sets the center point and radius of this instance.<br /> | Sets the center point and radius of this instance.<br /> | ||
Line 8: | Line 8: | ||
b2.CircleShape:set(centerx,centery,radius) | b2.CircleShape:set(centerx,centery,radius) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''centerx''': (number, optional) <translate>the x coordinate of the center</translate> <br/> | '''centerx''': (number, optional) <translate>the x coordinate of the center</translate> <br/> | ||
'''centery''': (number, optional) <translate>the y coordinate of the center</translate> <br/> | '''centery''': (number, optional) <translate>the y coordinate of the center</translate> <br/> | ||
'''radius''': (number, optional) <translate>the radius</translate> <br/> | '''radius''': (number, optional) <translate>the radius</translate> <br/> |
Revision as of 07:29, 24 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