Difference between revisions of "R3d.Fixture:testPointInside"
From GiderosMobile
(Created page with "'''Available since:''' Gideros 2019.10<br/> '''Class:''' R3d.Fixture<br/> === Description === Checks if a point is inside the fixture. <source lang="lua"> r3d.Fixture:tes...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
Checks if a point is inside the fixture. | Checks if a point is inside the fixture. | ||
− | < | + | <syntaxhighlight lang="lua"> |
r3d.Fixture:testPointInside(x,y,z) | r3d.Fixture:testPointInside(x,y,z) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === | ||
Line 14: | Line 14: | ||
=== Example === | === Example === | ||
− | < | + | <syntaxhighlight lang="lua"> |
− | </ | + | </syntaxhighlight> |
{{R3d.Fixture}} | {{R3d.Fixture}} |
Latest revision as of 14:32, 13 July 2023
Available since: Gideros 2019.10
Class: R3d.Fixture
Description
Checks if a point is inside the fixture.
r3d.Fixture:testPointInside(x,y,z)
Parameters
x: (number) the position of the point on the X axis
y: (number) the position of the point on the Y axis
z: (number) the position of the point on the Z axis
Example