[−][src]Struct gltf::mesh::Reader
Mesh primitive reader.
Methods
impl<'a, 's, F> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, [src]
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
pub fn read_positions(&self) -> Option<ReadPositions<'s>>[src]
Visits the vertex positions of a primitive.
pub fn read_normals(&self) -> Option<ReadNormals<'s>>[src]
Visits the vertex normals of a primitive.
pub fn read_tangents(&self) -> Option<ReadTangents<'s>>[src]
Visits the vertex tangents of a primitive.
pub fn read_colors(&self, set: u32) -> Option<ReadColors<'s>>[src]
Visits the vertex colors of a primitive.
pub fn read_indices(&self) -> Option<ReadIndices<'s>>[src]
Visits the vertex draw sequence of a primitive.
pub fn read_joints(&self, set: u32) -> Option<ReadJoints<'s>>[src]
Visits the joint indices of the primitive.
pub fn read_tex_coords(&self, set: u32) -> Option<ReadTexCoords<'s>>[src]
Visits the vertex texture co-ordinates of a primitive.
pub fn read_weights(&self, set: u32) -> Option<ReadWeights<'s>>[src]
Visits the joint weights of the primitive.
ⓘImportant traits for ReadMorphTargets<'a, 's, F>pub fn read_morph_targets(&self) -> ReadMorphTargets<'a, 's, F>[src]
ⓘImportant traits for ReadMorphTargets<'a, 's, F>
Visits the morph targets of the primitive.
Trait Implementations
impl<'a, 's, F: Clone> Clone for Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, [src]
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
fn clone(&self) -> Reader<'a, 's, F>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a, 's, F: Debug> Debug for Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, [src]
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
Auto Trait Implementations
impl<'a, 's, F> Send for Reader<'a, 's, F> where
F: Send,
F: Send,
impl<'a, 's, F> Sync for Reader<'a, 's, F> where
F: Sync,
F: Sync,
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value as a parameter of self.