Class TCASTRootItem
Unit
Cast2
Declaration
type TCASTRootItem = class(TRootItem)
Description
An item of this class should be the root of items hierarchyHierarchy
TRootItem > TItem > TBaseItemFields
| | Name | Description |
 | StageSettings | Clear settings for all render stages |
Methods
Overview
Description
Adds a collection of items with the specified state
Adds item's collision info to a collision manager
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.
Performs a collision test. ToDo: move to core
Removes collection specified by the index
Traverses through the items hierarchy and adds to Items all items matching the following:
the item is an instance of the given class or a descendant, its State field has matches Mask and the item is within visibility frustum of the given camera. Childs of items with non-matching State are not considered. Returns number of items in Items.
Traverses through the items hierarchy and adds to Items all items matching the following:
the item is an instance of the given class or a descendant, its State field has matches Mask and the item is within the given range from the given origin. Childs of items with non-matching State are not considered. Returns number of items in Items.
Frees all childs
Removes item's collision info from a collision manager
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.
Traverses through the items hierarchy and calls Callback for all items
|
Last modified: Jan 6, 2010
Copyright (C) 2006-2010, casteng.com
|