Class TProcessing
Unit
Cast2
Declaration
type TProcessing = class(TBaseProcessing)
Description
Base class of all processing objectsHierarchy
TBaseProcessing > TItem > TBaseItemFields
| | Name | Description |
 | BoundingBox | Returns bounding box of the item |
 | Colliding | Contains information about bounding volumes of the item which will be used for collision tests |
 | FLocation | Current location of the item |
 | FOrientation | Current orientation of the item |
 | FScale | Current scale of the item |
 | FTransform | Transformation matrix of the item |
Methods
Overview
Description
FullBoundingBox: Base3D.TBoundingBox;
This procedure is called (by editor for example) to retrieve a list of item's properties and their values. Any TItem descendant class should override this method in order to add its own properties.
In CAST II engine a lazy evaluation scheme used for transformation computations. This method will compute current transformation matrix when and only when it is necessary.
Returns position of the item in world's coordinate space
Returns orientation of the item in world's coordinate space
Calling this method will tell the engine that FTransform became invalid and should be recomputed before next use
Called when a collision of the item with another items was detected
Returns AItem if OK or nil if index is invalid or impossible to set a child
This procedure is called (by editor for example) to set values of item's properties. Any TItem descendant class should override this method to allow its own properties to be set.
Properties
Overview
Description
The item's bounding sphere radius based on Dimensions
Dimensions of the item based on its bounding box (see BoundingBox)
Forward direction for the item
4-component position of the item within parent's coordinate space
Orientation of the item within parent's coordinate space
Position of the item within parent's coordinate space
Right direction for the item
Scale of the item within parent's coordinate space
Transformation matrix of the item
Up direction for the item
|
Last modified: 4 Jul, 2008
Copyright (C) 2006-2008, casteng.com
|