Example
Example 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),.
Example
| Example | Example | Example | Example |
|---|
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 | získať | Vypočítaná transformácia vo svetovom priestore |
Properties | PropertyCollection | získať | Vlastné vlastnosti |
Example
| Example | Návratový typ | Example |
|---|
CreateChildNode(string name) | Node | Vytvorí nový podriadený uzol s daným názvom |
CreateChildNode(string name, Entity entity) | Node | Vytvorí podriadený uzol s pripojenou entitou |
Example
Pozri tiež