Trait gltf_utils::PrimitiveIterators [] [src]

pub trait PrimitiveIterators<'a> {
    fn positions<S>(&'a self, source: &'a S) -> Option<Positions<'a>>
    where
        S: Source
;
fn normals<S>(&'a self, source: &'a S) -> Option<Normals<'a>>
    where
        S: Source
;
fn tangents<S>(&'a self, source: &'a S) -> Option<Tangents<'a>>
    where
        S: Source
;
fn tex_coords_f32<S>(
        &'a self,
        set: u32,
        source: &'a S
    ) -> Option<TexCoordsF32<'a>>
    where
        S: Source
;
fn colors_rgba_f32<S>(
        &'a self,
        set: u32,
        default_alpha: f32,
        source: &'a S
    ) -> Option<ColorsRgbaF32<'a>>
    where
        S: Source
;
fn indices_u32<S>(&'a self, source: &'a S) -> Option<IndicesU32<'a>>
    where
        S: Source
;
fn joints_u16<S: Source>(
        &'a self,
        set: u32,
        source: &'a S
    ) -> Option<JointsU16<'a>>
    where
        S: Source
;
fn weights_f32<S: Source>(
        &'a self,
        set: u32,
        source: &'a S
    ) -> Option<WeightsF32<'a>>
    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 texture co-ordinates 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 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