Struct gltf::scene::Node [] [src]

pub struct Node<'a> { /* fields omitted */ }

A node in the node hierarchy.

When a node contains a skin, all its meshes contain JOINTS_0 and WEIGHTS_0 attributes.

Methods

impl<'a> Node<'a>
[src]

[src]

Returns the internal JSON index.

[src]

Returns the camera referenced by this node.

[src]

Returns an Iterator that visits the node's children.

[src]

Optional application specific data.

[src]

Deprecated since 0.9.1

: Use transform().matrix() instead

Returns the 4x4 column-major transformation matrix.

[src]

Returns the mesh referenced by this node.

[src]

Deprecated since 0.9.1

: Use transform().decomposed() instead.

Returns the node's unit quaternion rotation in the order [x, y, z, w], where w is the scalar.

[src]

Deprecated since 0.9.1

: Use transform().decomposed() instead.

Returns the node's non-uniform scale.

[src]

Deprecated since 0.9.1

: Use transform().decomposed() instead.

Returns the node's translation.

[src]

Returns the node's transform.

[src]

Returns the skin referenced by this node.

[src]

Returns the weights of the instantiated morph target.

Trait Implementations

impl<'a> Clone for Node<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for Node<'a>
[src]

[src]

Formats the value using the given formatter.