MeshClusters
此内容尚不支持你的语言。
Defined in: sdk/src/asset/meshFormat.ts:140
The mesh at every level of detail, as clusters a view picks from piece by piece (the model import builds them for a
dense static mesh). The mesh’s own indices are level 0, in cluster order, so a reader that knows nothing of clusters
draws the mesh as it was. Cluster runs are addressed in indices followed by coarseIndices, as one array.
Properties
Section titled “Properties”bounds
Section titled “bounds”bounds:
Float32Array
Defined in: sdk/src/asset/meshFormat.ts:146
MESH_CLUSTER_BOUNDS_FLOATS per cluster. A cluster nothing replaces has Infinity for its group’s error.
coarseIndices
Section titled “coarseIndices”coarseIndices:
Uint32Array
Defined in: sdk/src/asset/meshFormat.ts:142
The triangles of every level above the mesh’s own. They name the same vertices.
ranges
Section titled “ranges”ranges:
Uint32Array
Defined in: sdk/src/asset/meshFormat.ts:144
Two per cluster: the first index of its run, and how many indices the run has.