Interface BoxData
interface BoxData {
indexCount: number;
indices: Uint32Array;
normals: Float32Array;
positions: Float32Array;
uvs: Float32Array;
vertexCount: number;
}
indexCount: number;
indices: Uint32Array;
normals: Float32Array;
positions: Float32Array;
uvs: Float32Array;
vertexCount: number;
}
CreateBox — procedural box mesh matching Babylon.js MeshBuilder.CreateBox()
Generates a unit box (size=1, extends from -0.5 to 0.5) with:
Face order matches Babylon exactly: +Z, -Z, +X, -X, +Y, -Y