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

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

A set of primitives to be rendered. A node can contain one or more meshes and its transform places the meshes in the scene.

Methods

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

Constructs a Mesh.

Returns the internal JSON index.

Returns the internal JSON item.

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<'a> Clone for Mesh<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.