API

Interface SphereMeshData

Procedural UV sphere — matches Babylon MeshBuilder.CreateSphere defaults. Generates vertex positions, normals, and indices for a unit sphere. Left-handed winding (CCW front face) to match Babylon.

interface SphereMeshData {
    indexCount: number;
    indices: Uint32Array;
    normals: Float32Array;
    positions: Float32Array;
    uvs: Float32Array;
    vertexCount: number;
}
Index
indexCount: number
indices: Uint32Array
normals: Float32Array
positions: Float32Array
uvs: Float32Array
vertexCount: number