Function: buildStarPalette()
ts
function buildStarPalette(spectralType): TerrainLevel[];Build a TerrainLevel palette for a star mesh based on its spectral type.
Parameters
| Parameter | Type |
|---|---|
spectralType | SpectralType |