Difference between revisions of "B2.Fixture:getBody"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[b2.Fixture]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate><br />
+
Returns the parent body of this fixture. This is ''nil'' if the fixture is not attached.
Returns the parent body of this fixture. This is [[[nil]]] if the fixture is not attached.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(b2.Body) = b2.Fixture:getBody()
 
(b2.Body) = b2.Fixture:getBody()
</source>
+
</syntaxhighlight>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (b2.Body) <translate>body that created the fixture</translate><br/>
+
'''Returns''' (b2.Body) body that created the fixture<br/>
 +
 
 +
{{B2.Fixture}}

Latest revision as of 18:22, 12 July 2023

Available since: Gideros 2011.6
Class: b2.Fixture

Description

Returns the parent body of this fixture. This is nil if the fixture is not attached.

(b2.Body) = b2.Fixture:getBody()

Return values

Returns (b2.Body) body that created the fixture




LiquidFun