Interface: EnvironmentSpec
Defined in: environment.ts:217
A PARTIAL description of the environment.
The two ways of saying "nothing" are distinct and both meaningful:
- omitted - leave this slot exactly as it is.
{ fog: null }clears the fog and touches nothing else. null- turn this slot off.
That is what makes presets composable: a "storm" preset can carry only the fog and sky it cares about and inherit the lighting it is layered onto.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
ambient? | readonly | AmbientLightSpec | null | environment.ts:220 |
fog? | readonly | FogSpec | null | environment.ts:219 |
ibl? | readonly | IblSpec | null | environment.ts:222 |
key? | readonly | KeyLightSpec | null | environment.ts:221 |
sky? | readonly | SkySpec | null | environment.ts:218 |