Node() | Creates a node with name and attaches the given entity |
Node(name: string) | |
Node(name: string, entity: Entity) | |
CreateChildNode() | Creates a child node |
CreateChildNode(nodeName: string) | Creates a child node |
CreateChildNode(entity: Entity) | Creates a child node |
CreateChildNode(nodeName: string, entity: Entity) | Creates a child node |
CreateChildNode(nodeName: string, entity: Entity, material: Shading.Material) | Creates a child node |
AddChildNode(node: Node) | Add a child node to this node |
AddEntity(entity: Entity) | Add an entity to the node. |
Merge(node: Node) | Detach everything under the node and attach them to current node. |
EvaluateGlobalTransform(withGeometricTransform: bool) | Evaluate the global transform, include the geometric transform or not. |
GetChild(index: int) | Gets the child node at specified index. |
GetChild(nodeName: string) | Gets the child node at specified index. |
Accept(visitor: NodeVisitor) | Walks through all descendant nodes(including the current node) and call the visitor with the node. Visitor can break the walk-through by returning false |
GetBoundingBox() | Calculate the bounding box of the node |
SelectSingleObject(path: string) | Select single object under current node using XPath-like query syntax. |
SelectObjects(path: string) | Select multiple objects under current node using XPath-like query syntax. |
ToString() | Gets the string representation of this node. |
SceneObject(name: string) | |
A3DObject() | |
RemoveProperty(property: Property) | Removes a dynamic property. |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |