Difference between revisions of "B2.PulleyJoint:getRatio"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users not shown)
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.PulleyJoint|b2.PulleyJoint]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.PulleyJoint|b2.PulleyJoint]]<br/>
 +
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
<translate><br />
+
Returns the pulley ratio.
Returns the pulley ratio.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(number) = b2.PulleyJoint:getRatio()
 
(number) = b2.PulleyJoint:getRatio()
</source>
+
</syntaxhighlight>
 +
 
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (number) <translate>The pulley ratio</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>the pulley ratio</translate><br/>
 +
 
 +
{{B2.PulleyJoint}}

Latest revision as of 17:04, 12 July 2023


Available since: Gideros 2011.6
Class: b2.PulleyJoint

Description

Returns the pulley ratio.

(number) = b2.PulleyJoint:getRatio()

Return values

Returns (number) the pulley ratio




LiquidFun