Struct gltf::Mesh
[−]
[src]
pub struct Mesh<'a> { /* fields omitted */ }A set of primitives to be rendered.
Methods
impl<'a> Mesh<'a>[src]
pub fn index(&self) -> usize[src]
Returns the internal JSON index.
pub fn extras(&self) -> &Extras[src]
Optional application specific data.
ⓘImportant traits for Primitives<'a>pub fn primitives(&'a self) -> Primitives<'a>[src]
ⓘImportant traits for Primitives<'a>
Defines the geometry to be renderered with a material.
pub fn weights(&self) -> Option<&[f32]>[src]
Defines the weights to be applied to the morph targets.
Trait Implementations
impl<'a> Clone for Mesh<'a>[src]
fn clone(&self) -> Mesh<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more