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: transform/castletransform_initial_types.inc (line 81).
Overview
Fields
| Public | Item: TCastleTransform; |
| Public | Point: TVector3; |
| Public | Triangle: PTriangle; |
| Public | RayOrigin: TVector3; |
| Public | RayDirection: TVector3; |
Description
Fields
| Public | Item: TCastleTransform; |
|
Colliding object. Source: transform/castletransform_initial_types.inc (line 84). | |
| Public | 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: transform/castletransform_initial_types.inc (line 95). | |
| Public | 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: transform/castletransform_initial_types.inc (line 117). | |
| Public | RayOrigin: TVector3; |
|
Ray used to cause the collision, in the parent coordinate system of this TCastleTransform. RayDirection is not necessarily normalized! Source: transform/castletransform_initial_types.inc (line 122). | |
| Public | RayDirection: TVector3; |
|
Ray used to cause the collision, in the parent coordinate system of this TCastleTransform. Source: transform/castletransform_initial_types.inc (line 122). | |
Generated by PasDoc 0.17.0.snapshot.