Struct gltf::mesh::Mesh
[−]
[src]
pub struct Mesh<'a> { /* fields omitted */ }
A set of primitives to be rendered.
Methods
impl<'a> Mesh<'a>
[src]
fn index(&self) -> usize
[src]
Returns the internal JSON index.
fn extras(&self) -> &Extras
[src]
Optional application specific data.
fn primitives(&'a self) -> Primitives<'a>
[src]
Defines the geometry to be renderered with a material.
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