Function: resolveSolHeight()
ts
function resolveSolHeight(
tile,
sim,
levels,
maxHeight): number;Resolves the per-tile sol height for the unified shell. Pure look-up into the palette — the band-indexed elevation model already stamps a monotonically increasing height on every band, so the resolver only has to clamp to maxHeight.
Parameters
| Parameter | Type |
|---|---|
tile | Tile |
sim | BodySimulation |
levels | TerrainLevel[] |
maxHeight | number |
Returns
number