Record TRayCollisionNode
Unit
Declaration
type TRayCollisionNode = record
Description
Information about ray collision with a single 3D object. Everything (Point, RayOrigin, RayDirection) is expressed in the parent coordinate system of this TCastleTransform (in Item).
Source: src/transform/castletransform_initial_types.inc (line 81).
Overview
Fields
![]() |
Item: TCastleTransform; |
![]() |
Point: TVector3; |
![]() |
Triangle: PTriangle; |
![]() |
RayOrigin: TVector3; |
![]() |
RayDirection: TVector3; |
Description
Fields
![]() |
Item: TCastleTransform; |
|
Colliding object. Source: src/transform/castletransform_initial_types.inc (line 84). | |
![]() |
Point: TVector3; |
|
Position of the picked point. Expressed in the parent coordinate system of the TCastleTransform in Item. If the ray hit empty space (Triangle field is Source: src/transform/castletransform_initial_types.inc (line 95). | |
![]() |
Triangle: PTriangle; |
|
Triangle that was hit. This triangle is always a part of Item. If the ray hit empty space then this is May also be
Source: src/transform/castletransform_initial_types.inc (line 117). | |
![]() |
RayOrigin: TVector3; |
|
Ray used to cause the collision, in the parent coordinate system of this TCastleTransform. RayDirection is not necessarily normalized! Source: src/transform/castletransform_initial_types.inc (line 122). | |
![]() |
RayDirection: TVector3; |
|
Ray used to cause the collision, in the parent coordinate system of this TCastleTransform. Source: src/transform/castletransform_initial_types.inc (line 122). | |
Generated by PasDoc 0.17.0.snapshot.
