ZoneHazardFog
Defined in: server/api.d.ts:4983
Fog laid over the game’s own for a player inside, through the game’s blendable fog volume.
Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor?:ZoneHazardColor
Defined in: server/api.d.ts:4992
Inscattering color. Default a sickly green.
density?
Section titled “density?”
optionaldensity?:number
Defined in: server/api.d.ts:4987
Fog density, 0 to 10. Default 0.05; the open world sits near 0.01.
heightFalloff?
Section titled “heightFalloff?”
optionalheightFalloff?:number
Defined in: server/api.d.ts:5007
How fast the fog thins with height; 0 or less (the default) keeps the game’s own.
maxOpacity?
Section titled “maxOpacity?”
optionalmaxOpacity?:number
Defined in: server/api.d.ts:4997
Most the fog may hide, 0 to 1. Default 1.
startDistance?
Section titled “startDistance?”
optionalstartDistance?:number
Defined in: server/api.d.ts:5002
Centimetres from the camera before the fog starts. Default 0.