Overview
The Node class represents a named element in the Aspose.3D scene graph. Each node can hold one Entity (such as a Mesh, Camera, or Light), maintains parent-child relationships with other nodes, and carries a local transform. Nodes are the primary way to organize 3D objects in a scene hierarchy.
Properties
| Name | Type | Access | Description |
|---|
Name | string | get/set | Human-readable identifier for the node |
Entity | Entity | get/set | The primary entity attached to this node |
Entities | List<Entity> | get | All entities attached to this node |
ChildNodes | List<Node> | get | Child nodes in the scene hierarchy |
ParentNode | Node | get | Parent node in the hierarchy |
Transform | Transform | get | Local transformation (translation, rotation, scale) |
GlobalTransform | GlobalTransform | get | Computed world-space transformation |
Properties | PropertyCollection | get | Custom properties |
Methods
| Method | Return Type | Description |
|---|
CreateChildNode(string name) | Node | Creates a new child node with the given name |
CreateChildNode(string name, Entity entity) | Node | Creates a child node with an attached entity |
Example
See Also