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).
Overview
Fields
Item: TCastleTransform; |
|
Point: TVector3; |
|
Triangle: PTriangle; |
|
RayOrigin: TVector3; |
|
RayDirection: TVector3; |
Description
Fields
Item: TCastleTransform; |
|
Colliding object. |
Point: TVector3; |
|
Position, in local coordinate system of this 3D object, of the picked 3D point. If the ray hit empty space (Triangle field is |
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
|
RayOrigin: TVector3; |
|
Ray used to cause the collision, in the parent coordinate system of this TCastleTransform. RayDirection is not necessarily normalized! |
RayDirection: TVector3; |
|
Ray used to cause the collision, in the parent coordinate system of this TCastleTransform. |
Generated by PasDoc 0.16.0.