data class MRUKMesh(val positions: FloatArray, val normals: FloatArray, val indices: IntArray)
MRUKMesh
(
positions
, normals
, indices
)
|
Signature
constructor(positions: FloatArray, normals: FloatArray, indices: IntArray) Parameters positions: FloatArray
Array of vertex positions in 3D space, stored as x1, y1, z1, x2, y2, z2, ...
normals: FloatArray
Array of vertex normal vectors, stored as nx1, ny1, nz1, nx2, ny2, nz2, ...
indices: IntArray
Array of triangle indices that define the mesh faces, where each index references a vertex (every 3 consecutive floats in positions/normals)
Returns MRUKMesh |
indices
: IntArray
[Get] |
Signature
val indices: IntArray |
normals
: FloatArray
[Get] |
Signature
val normals: FloatArray |
positions
: FloatArray
[Get] |
Signature
val positions: FloatArray |