@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / EnvironmentState
Type Alias: EnvironmentState
ts
type EnvironmentState = {
skybox: EnvironmentSkyboxState;
fog: EnvironmentFogState;
gravity: EnvironmentGravityState;
fixedTimeStep: number;
};Defined in: components/Environment.ts:58
Aggregated authoring state owned by Environment.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
skybox | EnvironmentSkyboxState | Skybox configuration. | components/Environment.ts:60 |
fog | EnvironmentFogState | Fog configuration. | components/Environment.ts:62 |
gravity | EnvironmentGravityState | World gravity. | components/Environment.ts:64 |
fixedTimeStep | number | Fixed timestep (seconds) used by the physics accumulator loop. Physics is stepped in fixed increments of this size each frame. Default is 0.02 (50 Hz). | components/Environment.ts:70 |

