Model loading · function
componentCount
How many connected pieces the indices make of the mesh. Unreferenced vertices count as their own.
Explained in Importing models.
function componentCount(mesh: MeshData): numberimport { componentCount } from '@driftengine/assets';Parameters
| Parameter | Type | Description |
|---|---|---|
mesh | MeshData |