Difference between revisions of "B2.Fixture:isSensor"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Special:MyLanguage/b2.Fixture|b2.Fixture]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate><br />
+
Is this fixture a sensor (non-solid)?
Is this fixture a sensor (non-solid)?<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(any), (any) = b2.Fixture:isSensor()
 
(any), (any) = b2.Fixture:isSensor()
</source>
+
</syntaxhighlight>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (any) <translate>[[Special:MyLanguage/true|true]] if the shape is a sensor, [[Special:MyLanguage/false|false]] otherwise.</translate><br/>
+
'''Returns''' (any) ''true'' if the shape is a sensor, ''false'' otherwise.<br/>
'''Returns''' (any) <translate>[[Special:MyLanguage/true|true]] if the shape is a sensor, [[Special:MyLanguage/false|false]] otherwise.</translate><br/>
+
'''Returns''' (any) ''true'' if the shape is a sensor, ''false'' otherwise.<br/>
 +
 
 +
{{B2.Fixture}}

Latest revision as of 18:22, 12 July 2023


Available since: Gideros 2011.6
Class: b2.Fixture

Description

Is this fixture a sensor (non-solid)?

(any), (any) = b2.Fixture:isSensor()

Return values

Returns (any) true if the shape is a sensor, false otherwise.
Returns (any) true if the shape is a sensor, false otherwise.




LiquidFun