Difference between revisions of "B2.Fixture:getBody"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Fixture|b2.Fixture]]<br/>
+
'''Class:''' [[Special:MyLanguage/b2.Fixture|b2.Fixture]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
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 /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
 
(b2.Body) = b2.Fixture:getBody()
 
(b2.Body) = b2.Fixture:getBody()
 
</source>
 
</source>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (b2.Body) <translate>body that created the fixture</translate><br/>
+
=== Return values ===
 +
'''Returns''' (b2.Body) body that created the fixture<br/>
 +
 
 +
{{B2.Fixture}}

Revision as of 13:41, 17 February 2020


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