Model loading · function
findRepeats
The prototype and placements for the largest candidate count that mesh is exactly that many
rigid copies of, or null when none is.
Explained in Importing models.
function findRepeats(mesh: MeshData, candidates: readonly number[]): Repeats | nullimport { findRepeats } from '@driftengine/assets';Parameters
| Parameter | Type | Description |
|---|---|---|
mesh | MeshData | |
candidates | readonly number[] |