#[repr(C)]pub struct IPLStaticMeshSettings {
pub numVertices: IPLint32,
pub numTriangles: IPLint32,
pub numMaterials: IPLint32,
pub vertices: *mut IPLVector3,
pub triangles: *mut IPLTriangle,
pub materialIndices: *mut IPLint32,
pub materials: *mut IPLMaterial,
}Expand description
Settings used to create a static mesh.
Fields§
§numVertices: IPLint32Number of vertices.
numTriangles: IPLint32Number of triangles.
numMaterials: IPLint32Number of materials.
vertices: *mut IPLVector3Array containing vertices.
triangles: *mut IPLTriangleArray containing (indexed) triangles.
materialIndices: *mut IPLint32Array containing, for each triangle, the index of the associated material.
materials: *mut IPLMaterialArray of materials.
Trait Implementations§
Source§impl Clone for IPLStaticMeshSettings
impl Clone for IPLStaticMeshSettings
Source§fn clone(&self) -> IPLStaticMeshSettings
fn clone(&self) -> IPLStaticMeshSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IPLStaticMeshSettings
impl Debug for IPLStaticMeshSettings
impl Copy for IPLStaticMeshSettings
Auto Trait Implementations§
impl Freeze for IPLStaticMeshSettings
impl RefUnwindSafe for IPLStaticMeshSettings
impl !Send for IPLStaticMeshSettings
impl !Sync for IPLStaticMeshSettings
impl Unpin for IPLStaticMeshSettings
impl UnwindSafe for IPLStaticMeshSettings
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