Struct gltf::json::mesh::Mesh [] [src]

pub struct Mesh {
    pub extensions: Mesh,
    pub extras: Extras,
    pub primitives: Vec<Primitive>,
    pub weights: Option<Vec<f32>>,
}

A set of primitives to be rendered.

A node can contain one or more meshes and its transform places the meshes in the scene.

Fields

Extension specific data.

Optional application specific data.

Defines the geometry to be renderered with a material.

Defines the weights to be applied to the morph targets.

Trait Implementations

impl Clone for Mesh
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mesh
[src]

Formats the value using the given formatter.

impl Validate for Mesh
[src]

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.