Difference between revisions of "B2.Fixture:getBody"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
Returns the parent body of this fixture. This is `nil` if the fixture is not attached.<br />
+
Returns the parent body of this fixture. This is [[[nil]]] if the fixture is not attached.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(b2.Body) = b2.Fixture:getBody()
 
(b2.Body) = b2.Fixture:getBody()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (b2.Body) body that created the fixture<br/>
+
'''Returns''' (b2.Body) <translate>body that created the fixture</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2011.6

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