normalizeAssetToCell
normalizeAssetToCell(
bounds,options?):Normalization
Defined in: packages/declarative-hex-worlds/src/normalize/normalize.ts:65
Compute the uniform scale + recenter offset that normalizes an asset’s native bounds
onto a board cell. The scale fits the footprint per fit; the offset re-centers the
scaled asset on the cell (x/z) and rests it on the surface (or centers it in y).
Parameters
Section titled “Parameters”bounds
Section titled “bounds”options?
Section titled “options?”NormalizeOptions = {}