Skip to content

Type Alias: InteractiveView

ts
type InteractiveView = "surface" | "atmosphere" | "shader";

View selector for BodyView.set — three mutually exclusive rendering modes:

  • 'surface' : interactive sol board visible (relief + liquid), atmo board hidden, smooth sphere hidden.
  • 'atmosphere' : interactive atmo board visible (resource grid), sol board hidden, smooth sphere hidden.
  • 'shader' : non-interactive overview render. Smooth sphere shown when the body type benefits from it (rocky, metallic, star); atmo halo overlaid with the configured atmosphereOpacity. Gaseous bodies skip the smooth sphere because the opaque atmo shell already covers it.

Distribué sous la licence indiquée dans le dépôt.