Castle Game Engine: X3DNodes: Class TAbstractLODNode

# Class TAbstractLODNode
Description | Hierarchy | Fields | Methods | Properties
## Unit X3DNodes ## Declaration `type TAbstractLODNode = class(TAbstractX3DGroupingNode)` ## Description LOD node for VRML/X3D >= 2.0. This is not for VRML <= 1.0 LOD node. It's a common ancestor for VRML 2.0 LOD (TLODNode_2) and X3D LOD (TLODNode). Unfortunately, we cannot have a simple common class for both VRML 97 and X3D because there would be a name clash for "level_changed" event: For VRML 2.0, main MFNode field was named "level" and so "level_changed" is an event reporting when MFNode changed. For X3D, main MFNode field is named "children", and so "children_changed" reports MFNode changes. "level_changed" is a new field, SFInt32, indicating which child is chosen. So level_changed has completely different meanings for VRML 97 and X3D. As an extension we'll add "levelIndex_changed", SFInt32, to be analogous to X3D "level_changed". This way both VRML 2.0 and X3D LOD nodes have the same capabilities, and common interface for programmer (programmer should use X3D event/fields names for Pascal property names), but for parser they will use different names. ## Hierarchy TPersistent TNonRefCountedInterfacedPersistent TX3DFileItem TX3DNode TAbstractNode TAbstractChildNode TAbstractGroupingNode TAbstractX3DGroupingNode TAbstractLODNode ## Overview ### Methods
| `procedure DirectEnumerateActive( Func: TEnumerateChildrenFunction); override;`
| `procedure CreateNode; override;`
| `class function ClassNodeTypeName: string; override;`
| `function TransformationChange: TNodeTransformationChange; override;`
### Properties
| `property FdCenter: TSFVec3f read FFdCenter;`
| `property FdRange: TMFFloat read FFdRange;`
| `property FdForceTransitions: TSFBool read FFdForceTransitions;`
| `property EventLevel_changed: TSFInt32Event read FEventLevel_changed;`
## Description ### Methods
| `procedure DirectEnumerateActive( Func: TEnumerateChildrenFunction); override;`
| `procedure CreateNode; override;`
| `class function ClassNodeTypeName: string; override;`
| `function TransformationChange: TNodeTransformationChange; override;`
### Properties
| `property FdCenter: TSFVec3f read FFdCenter;`
| `property FdRange: TMFFloat read FFdRange;`
| `property FdForceTransitions: TSFBool read FFdForceTransitions;`
| `property EventLevel_changed: TSFInt32Event read FEventLevel_changed;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:15