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

Overview

Methods

Public function IndexOfItem(const Item: TCastleTransform): Integer;
Public procedure Add(const Item: TCastleTransform); reintroduce;

Description

Methods

Public function IndexOfItem(const Item: TCastleTransform): Integer;

Index of node with given Item.

Public procedure Add(const Item: TCastleTransform); reintroduce;
 

Generated by PasDoc 0.15.0.