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