Difference between revisions of "B2.ChainShape:createLoop"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.ChainShape|b2.ChainShape]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.ChainShape|b2.ChainShape]]<br/>

Revision as of 10:59, 3 September 2018


Available since: Gideros 2011.6
Class: b2.ChainShape

Description


Creates a loop. This automatically adjusts connectivity.

 b2.ChainShape:createLoop(vertices)

Parameters

vertices: (any) A list of numbers that contains the x, y coordinates of the vertices sequentially