pub struct Triangles {
pub vertices: Vec<(VertexIndex, VertexIndex, VertexIndex)>,
pub tex_vertices: Option<Vec<(TextureIndex, TextureIndex, TextureIndex)>>,
pub normals: Option<Vec<(NormalIndex, NormalIndex, NormalIndex)>>,
pub material: Option<String>,
}
Fields
vertices: Vec<(VertexIndex, VertexIndex, VertexIndex)>
The vertex indices of the triangles.
tex_vertices: Option<Vec<(TextureIndex, TextureIndex, TextureIndex)>>
The texture vertex indices of the triangles.
normals: Option<Vec<(NormalIndex, NormalIndex, NormalIndex)>>
The normal indices of the triangles.
material: Option<String>
The material of the polylist. Optional.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Triangles
impl Send for Triangles
impl Sync for Triangles
impl Unpin for Triangles
impl UnwindSafe for Triangles
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more