BodySnapshot

interface BodySnapshot
simulation/src/snapshot.ts:109

Members

addressreadonly

address: string

appearancereadonly

appearance: BodyAppearance

What it looks like: maps, roughness, clouds, rings.

atmosphereCeilingreadonly

atmosphereCeiling: number

figurereadonly

figure: BodyFigure | null

The measured figure, for a body that is not a spheroid, or null for one that is. See BodyFigure in @inertialref/universe.

framereadonly

frame: FrameId

hasAtmospherereadonly

hasAtmosphere: boolean

kindreadonly

kind: string

namereadonly

name: string

orientationreadonly

orientation: Quat

polarRadiusreadonly

polarRadius: number

Polar radius. Smaller than radius for anything that spins.

positionreadonly

position: UniverseVector

radiusreadonly

radius: number

reliefreadonly

relief: number

Peak-to-datum terrain relief, so the renderer can sink the datum sphere.

rotationPeriodreadonly

rotationPeriod: number

Sidereal rotation period, seconds, negative for retrograde. The renderer needs it because a cloud deck's drift is relative to the surface, and the surface's own turn rate is not recoverable from the orientation.