Class TCollisionDetails
Unit
Declaration
type TCollisionDetails = class(specialize TStructList<TCollisionDetailsItem>)
Description
Represents a collision with a 3D objects tree. Just access the First
item for the collision information with the final 3D object. The rest of items are containers of this 3D object (a path within TCastleViewport.Items hierarchy tree, usually).
This list is a path in the TCastleTransform tree leading from the final colliding object to the root of the TCastleTransform tree. This allows you to track the TCastleTransform containers that contain given collision.
This is never an empty list when returned by XxxCollision method.
Hierarchy
- TObject
- TList
- TStructList
- TCollisionDetails
Overview
Methods
function IndexOfItem(const Item: TCastleTransform): Integer; |
|
procedure Add(const Item: TCastleTransform); reintroduce; |
Description
Methods
function IndexOfItem(const Item: TCastleTransform): Integer; |
|
Index of node with given Item. |
procedure Add(const Item: TCastleTransform); reintroduce; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.