Model loading · interface
ClusterLevel
Explained in Importing models.
interface ClusterLevelimport type { ClusterLevel } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
set | ClusterSet | The clusters at this level. Level 0 is the source mesh's. |
positions | Float32Array | Positions the level's indices address. Level 0 shares the source mesh's. |
ownError | Float32Array | Geometric error each cluster at this level carries. Zero at level 0. |
parentError | Float32Array | The error of the group that replaces this cluster one level up, or Infinity at the root. |
groupOf | Uint32Array | Which group of this level was simplified together. Clusters sharing one share a parent. |