#[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: IPLint32

Number of vertices.

numTriangles: IPLint32

Number of triangles.

numMaterials: IPLint32

Number of materials.

vertices: *mut IPLVector3

Array containing vertices.

triangles: *mut IPLTriangle

Array containing (indexed) triangles.

materialIndices: *mut IPLint32

Array containing, for each triangle, the index of the associated material.

materials: *mut IPLMaterial

Array of materials.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.