Assimp
v3.1.1 (June 2014)
|
A node in the imported hierarchy. More...
Public Member Functions | |
AiNode | findNode (String name) |
Searches the node hierarchy below (and including) this node for a node with the specified name. More... | |
List< AiNode > | getChildren () |
Returns the children of this node. More... | |
int[] | getMeshes () |
Returns the meshes referenced by this node. More... | |
String | getName () |
Returns the name of this node. More... | |
int | getNumChildren () |
Returns the number of child nodes. More... | |
int | getNumMeshes () |
Returns the number of meshes references by this node. More... | |
AiNode | getParent () |
Returns the parent node. More... | |
A node in the imported hierarchy.
Each node has name, a parent node (except for the root node), a transformation relative to its parent and possibly several child nodes. Simple file formats don't support hierarchical structures - for these formats the imported scene consists of only a single root node without children.
|
inline |
Searches the node hierarchy below (and including) this node for a node with the specified name.
name | the name to look for |
|
inline |
Returns the children of this node.
|
inline |
Returns the meshes referenced by this node.
Each entry is an index into the mesh list stored in AiScene.
|
inline |
Returns the name of this node.
|
inline |
Returns the number of child nodes.
This method exists for compatibility reasons with the native assimp API. The returned value is identical to getChildren().size()
|
inline |
Returns the number of meshes references by this node.
This method exists for compatibility with the native assimp API. The returned value is identical to getMeshes().length
|
inline |
Returns the parent node.