[−][src]Trait plexus::primitive::generate::PolygonsWithUvMap
Functions for generating polygons with UV-mapping (texture coordinate) data.
Provided methods
ⓘImportant traits for Generate<'a, G, S, P>fn polygons_with_uv_map(&self) -> Generate<Self, Self::State, Self::Output>
ⓘImportant traits for Generate<'a, G, S, P>
Provides an iterator over the set of unique polygons with UV-mapping data.
Examples
use plexus::prelude::*; use plexus::primitive; use plexus::primitive::cube::Cube; use plexus::primitive::index::HashIndexer; let cube = Cube::new(); let (indices, positions) = primitive::zip_vertices((cube.polygons_with_position(), cube.polygons_with_uv_map())) .index_vertices(HashIndexer::default());
ⓘImportant traits for Generate<'a, G, S, P>fn polygons_with_uv_map_from(
&self,
state: Self::State
) -> Generate<Self, Self::State, Self::Output>
ⓘImportant traits for Generate<'a, G, S, P>
&self,
state: Self::State
) -> Generate<Self, Self::State, Self::Output>
Provides an iterator over the set of unique polygons with UV-mapping data using the provided state.
Implementors
impl<G> PolygonsWithUvMap for G where
G: UvMapPolygonGenerator,
[src]
G: UvMapPolygonGenerator,