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
| Parameter | Type | Description |
|---|---|---|
sys | SyntheticSystem | The authored system. |
id | string | A body id. |
Returns
SyntheticRender | undefined
The render attributes, or undefined.