API Reference / syntheticSources · function

Function: syntheticSources()

function syntheticSources(sys): Record<string, XyzSource>;

Build the heliocentric XyzSource for every body in a system, keyed by id — the raw material for both the world-frame contract and engine registration.

Parameters

ParameterTypeDescription
sysSyntheticSystemThe authored system.

Returns

Record<string, XyzSource>

One source per body id.

Start building

Quickstart →