Class TAbstractX3DGroupingNode
Unit
X3DNodes
Declaration
type TAbstractX3DGroupingNode = class(TAbstractGroupingNode, IAbstractBoundedObject)
Description
Base node that contains children nodes, in X3D and VRML 2.0.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure CreateNode; override; |
|
 |
procedure AddChildren(const Children: array of TAbstractChildNode); overload; |
Add the nodes as children. Adding a node that already exists on the children list is ignored.
Note: This method prevents adding duplicates to the children list. And the X3D specification doesn't allow duplicates on the children list. But our engine allows duplicates on the children list — you can specify them in the X3D file, or you can add them using FdChildren.Add.
This propagates the changes appropriately to the parent TCastleSceneCore, calling TCastleSceneCore.ChangedAll or something similar.
|
 |
procedure RemoveChildren(const Children: array of TAbstractChildNode); overload; |
Remove the nodes from the children list. Removing a node that does not exist on the children list is ignored.
If a node exists on the current children list multiple times, then a single occurrence of this node is removed, for each occurrence of this node in the parameters list.
This propagates the changes appropriately to the parent TCastleSceneCore, calling TCastleSceneCore.ChangedAll or something similar.
|
 |
procedure ClearChildren; |
Clear all children from the list. This automatically propagates the changes appropriately to the parent TCastleSceneCore.
|
Properties
 |
property EventAddChildren: TMFNodeEvent read FEventAddChildren; |
|
 |
property EventRemoveChildren: TMFNodeEvent read FEventRemoveChildren; |
|
 |
property FdChildren: TMFNode read FFdChildren; |
|
 |
property FdBboxCenter: TSFVec3f read FFdBboxCenter; |
|
 |
property FdBboxSize: TSFVec3f read FFdBboxSize; |
|
 |
property BboxCenter: TVector3 read GetBboxCenter write SetBboxCenter; |
|
 |
property BboxSize: TVector3 read GetBboxSize write SetBboxSize; |
|
Generated by PasDoc 0.15.0.
|