Difference between revisions of "B2.ChainShape:createLoop"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
<languages />
=== <translate>Description</translate> ===
+
'''Available since:''' Gideros 2011.6<br/>
<translate><br />
+
'''Class:''' [[Special:MyLanguage/b2.ChainShape|b2.ChainShape]]<br/>
Creates a loop. This automatically adjusts connectivity.<br />
+
 
<br /></translate>
+
=== Description ===
<source lang="lua">
+
Creates a loop. This automatically adjusts connectivity.
b2.ChainShape:createLoop(vertices)
+
<syntaxhighlight lang="lua">
</source>
+
b2.ChainShape:createLoop(vertices)
=== <translate>Parameters</translate> ===
+
</syntaxhighlight>
'''vertices''': (any) <translate>A list of numbers that contains the x, y coordinates of the vertices sequentially</translate> <br/>
+
 
 +
=== Parameters ===
 +
'''vertices''': (any) a list of numbers that contains the x, y coordinates of the vertices sequentially <br/>
 +
 
 +
{{B2.ChainShape}}

Latest revision as of 18:21, 12 July 2023


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




LiquidFun