Host typegenerated
SceneEnvironment
The existing authored scene environment on an entity. Changes affect the next extracted frame without restarting. Missing components and stale entities are runtime errors; writes validate the full payload atomically. Fog, the color grade and bloom are reached through fog, post_process and bloom.
6 members · engine 0.1.0
SceneEnvironment.ambient_color: ColorAmbient RGB as a Color with alpha one. Whole and channel writes are checked; alpha must remain one. RGB follows the authored environment contract: finite f32 values.SceneEnvironment.ambient_intensity: numberFinite nonnegative ambient strength. Fractional writes preserve their value even when the authored JSON number was an integer.SceneEnvironment.background: ColorThe scene clear color as RGBA Color. Whole and channel writes retain finite f32 values, including authored alpha. Failed writes preserve the old payload.SceneEnvironment.bloom: SceneBloomThe glow around bright light, asSceneBloom.SceneEnvironment.fog: SceneFogThe distance and height fog, asSceneFog.SceneEnvironment.post_process: ScenePostProcessThe color grade applied to the lit world, asScenePostProcess.
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b