Class TShapeTreeSwitch
Unit
CastleShapes
Declaration
type TShapeTreeSwitch = class(TShapeTreeGroup)
Description
Node of the TShapeTree representing an alternative, choosing one (or none) child from it's children list as active.
It's ideal for representing the VRML >= 2.0 Switch node (not possible for VRML 1.0 Switch node, as it may affect also other nodes after Switch). Actually, it even has a SwitchNode link that is used to decide which child to choose (using SwitchNode.FdWhichChoice).
Hierarchy
Overview
Methods
 |
procedure Traverse(Func: TShapeTraverseFunc; const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false); override; |
 |
function ShapesCount(const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false): Cardinal; override; |
Properties
Description
Methods
 |
procedure Traverse(Func: TShapeTraverseFunc; const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false); override; |
|
 |
function ShapesCount(const OnlyActive: boolean; const OnlyVisible: boolean = false; const OnlyCollidable: boolean = false): Cardinal; override; |
|
Properties
 |
property SwitchNode: TSwitchNode read FSwitchNode write FSwitchNode; |
|
Generated by PasDoc 0.13.0 on 2014-08-30 12:10:41
|