API Reference / syntheticRender · function

Function: syntheticRender()

function syntheticRender(sys, id): SyntheticRender | undefined;

The SyntheticRender attributes for a body id, or undefined when none were authored. The accessor SkyView/skyViewSequence reads so an imaginary body keeps a consistent size, brightness and colour across frames — the engine owns position, this owns appearance.

Parameters

ParameterTypeDescription
sysSyntheticSystemThe authored system.
idstringA body id.

Returns

SyntheticRender | undefined

The render attributes, or undefined.

Start building

Quickstart →