Struct assimp::Node
[−]
[src]
pub struct Node<'a>(_);
The Node
type represents a node in the imported scene hierarchy.
Methods
impl<'a> Node<'a>
[src]
fn name(&self) -> &str
Returns the name of the node.
fn transformation(&self) -> Matrix4x4
Returns the node's transformation matrix.
fn parent(&self) -> Option<Node>
Return the parent of this node. Returns None
if this node is the root node.
fn num_children(&self) -> u32
Returns the number of child nodes.
fn child_iter(&self) -> NodeIter
Returns a vector containing all of the child nodes under this node.
fn num_meshes(&self) -> u32
Returns the number of meshes under this node.
fn meshes(&self) -> &[u32]
Returns a vector containing all of the meshes under this node. These are indices into
the meshes contained in the Scene
struct.