pub struct GltfSceneInstance {
    pub nodes: Vec<Labeled<Node>>,
    pub topological_order: Vec<usize>,
}
Expand description

Data specific to each instance of a gltf scene.

Fields

nodes: Vec<Labeled<Node>>

The flat list of nodes in the scene. Each node points to a list of children and optionally a parent using indices.

topological_order: Vec<usize>

Iterating the nodes following the order in this list guarantees that parents will always be visited before children. This allows avoiding recursion in several algorithms.

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 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.