Struct gltf::Node

source · []
pub struct Node<'a> { /* private fields */ }
Expand description

A node in the node hierarchy.

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

Implementations

Returns the internal JSON index.

Returns the camera referenced by this node.

Returns an Iterator that visits the node’s children.

Optional application specific data.

This is supported on crate feature KHR_lights_punctual only.

Returns the light at this node as defined by the KHR_lights_punctual extension.

Returns the mesh referenced by this node.

Optional user-defined name for this object.

Returns the node’s transform.

Returns the skin referenced by this node.

Returns the weights of the instantiated morph target.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.