Function: terrainBandLayout()
ts
function terrainBandLayout(
radius,
coreRadiusRatio,
levelCount,
atmosphereThickness?): TerrainBandLayout;Resolve the staircase layout for a body. The returned unit is tuned so the tallest band caps at shell exactly. With the radial partition [core | sol | atmo], shell is the sol band length: (1 - coreRadiusRatio - atmosphereThickness) × radius. Pass 0 (or omit) the atmosphere thickness for legacy callers that treat the whole [core, radius] shell as sol.
Parameters
| Parameter | Type |
|---|---|
radius | number |
coreRadiusRatio | number |
levelCount | number |
atmosphereThickness? | number |