pub struct MeshGeometry {
pub object: OwnedObject,
pub vertices: Vec<[f32; 3]>,
pub face_vertex_counts: Vec<u32>,
pub normals: Vec<[f32; 3]>,
pub tangents: Vec<[f32; 3]>,
pub binormals: Vec<[f32; 3]>,
pub texture_coords: [Vec<[f32; 2]>; 8],
pub texture_coord_names: [String; 8],
pub vertex_colors: [Vec<[f32; 4]>; 8],
pub material_indices: Vec<i32>,
}Fields§
§object: OwnedObject§vertices: Vec<[f32; 3]>§face_vertex_counts: Vec<u32>§normals: Vec<[f32; 3]>§tangents: Vec<[f32; 3]>§binormals: Vec<[f32; 3]>§texture_coords: [Vec<[f32; 2]>; 8]§texture_coord_names: [String; 8]§vertex_colors: [Vec<[f32; 4]>; 8]§material_indices: Vec<i32>Implementations§
Source§impl MeshGeometry
impl MeshGeometry
pub fn inner(&self) -> &OwnedObject
pub fn into_inner(self) -> OwnedObject
Trait Implementations§
Source§impl Debug for MeshGeometry
impl Debug for MeshGeometry
Source§impl PartialEq for MeshGeometry
impl PartialEq for MeshGeometry
Source§impl TryFrom<OwnedObject> for MeshGeometry
impl TryFrom<OwnedObject> for MeshGeometry
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for MeshGeometry
Auto Trait Implementations§
impl Freeze for MeshGeometry
impl RefUnwindSafe for MeshGeometry
impl Send for MeshGeometry
impl Sync for MeshGeometry
impl Unpin for MeshGeometry
impl UnsafeUnpin for MeshGeometry
impl UnwindSafe for MeshGeometry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more