WorldSnapshot

interface WorldSnapshot
simulation/src/snapshot.ts:147

Members

alphareadonly

alpha: number

bodiesreadonly

bodies: readonly BodySnapshot[]

droppedTicksreadonly

droppedTicks: number

entitiesreadonly

entities: readonly EntitySnapshot[]

eventsreadonly

events: readonly WorldEvent[]

pausedreadonly

paused: boolean

renderTimereadonly

renderTime: number

starsreadonly

stars: readonly StarSnapshot[]

stateHashreadonly

stateHash: string

structuresreadonly

structures: readonly SnapshotStructure[]

tickreadonly

tick: Tick

timereadonly

time: number

timeScalereadonly

timeScale: number