Trait gltf_utils::PrimitiveIterators [] [src]

pub trait PrimitiveIterators<'a>: Sealed {
    fn positions<'s, S: Source>(
        &'a self,
        source: &'s S
    ) -> Option<Positions<'s>>;
fn normals<'s, S: Source>(&'a self, source: &'s S) -> Option<Normals<'s>>;
fn tangents<'s, S: Source>(&'a self, source: &'s S) -> Option<Tangents<'s>>;
fn colors<'s, S>(&'a self, set: u32, source: &'s S) -> Option<Colors<'s>>
    where
        S: Source
;
fn indices<'s, S>(&'a self, source: &'s S) -> Option<Indices<'s>>
    where
        S: Source
;
fn joints<'s, S>(&'a self, set: u32, source: &'s S) -> Option<Joints<'s>>
    where
        S: Source
;
fn tex_coords<'s, S>(
        &'a self,
        set: u32,
        source: &'s S
    ) -> Option<TexCoords<'s>>
    where
        S: Source
;
fn weights<'s, S>(&'a self, set: u32, source: &'s S) -> Option<Weights<'s>>
    where
        S: Source
; }

Extra methods for working with gltf::Primitive.

Required Methods

Visits the vertex positions of a primitive.

Visits the vertex normals of a primitive.

Visits the vertex tangents of a primitive.

Visits the vertex colors of a primitive.

Visits the vertex draw sequence of a primitive.

Visits the joint indices of the primitive.

Visits the vertex texture co-ordinates of a primitive.

Visits the joint weights of the primitive.

Implementations on Foreign Types

impl<'a> PrimitiveIterators<'a> for Primitive<'a>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Implementors