B2.EdgeShape:set: Difference between revisions

From GiderosMobile
No edit summary
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.EdgeShape|b2.EdgeShape]]<br/>
Sets the two vertices of this instance.<br />
 
<br /></translate>
=== Description ===
<source lang="lua">
Sets the two vertices of this instance.
b2.EdgeShape:set(v1x,v1y,v2x,v2y)
<syntaxhighlight lang="lua">
</source>
b2.EdgeShape:set(v1x,v1y,v2x,v2y)
=== <translate>Parameters</translate> ===
</syntaxhighlight>
'''v1x''': (number) <translate>- the x coordinate of 1st point of edge</translate> <br/>
 
'''v1y''': (number) <translate>- the y coordinate of 1st point of edge</translate> <br/>
=== Parameters ===
'''v2x''': (number) <translate>- the x coordinate of 2nd point of edge</translate> <br/>
'''v1x''': (number) the x coordinate of 1st point of edge <br/>
'''v2y''': (number) <translate>- the y coordinate of 2nd point of edge</translate> <br/>
'''v1y''': (number) the y coordinate of 1st point of edge <br/>
'''v2x''': (number) the x coordinate of 2nd point of edge <br/>
'''v2y''': (number) the y coordinate of 2nd point of edge <br/>
 
{{B2.EdgeShape}}

Latest revision as of 15:52, 12 July 2023


Available since: Gideros 2011.6
Class: b2.EdgeShape

Description

Sets the two vertices of this instance.

b2.EdgeShape:set(v1x,v1y,v2x,v2y)

Parameters

v1x: (number) the x coordinate of 1st point of edge
v1y: (number) the y coordinate of 1st point of edge
v2x: (number) the x coordinate of 2nd point of edge
v2y: (number) the y coordinate of 2nd point of edge




LiquidFun