# Set Fog Color Over Time
Grammar — Set fog’s color to color over duration seconds
Flags —Native
|Action
Sets the color of environmental fog.
# Arguments
color
— Colorfixed
— Duration
Returns — void
native void FogSetColorOverTime(color c, fixed timeRamp);
# Related
Category: Environment / Fog And Background
- [F] —
void
— Enable/Disable Fog — ( FogSetEnabled ) - [F] —
void
— Enable/Disable Fog At Ultra — ( FogSetDisableAtUltra ) - [F] —
void
— Set Fog Density — ( FogSetDensity ) - [F] —
void
— Set Fog Color — ( FogSetColor ) - [F] —
void
— Set Fog Falloff — ( FogSetFallOff ) - [F] —
void
— Set Fog Start Height — ( FogSetStartHeight ) - [F] —
void
— Set Fog Density Over Time — ( FogSetDensityOverTime ) - [F] —
void
— Set Fog Color Over Time — ( FogSetColorOverTime ) - [F] —
void
— Set Fog Falloff Over Time — ( FogSetFallOffOverTime ) - [F] —
void
— Set Fog Start Height Over Time — ( FogSetStartHeightOverTime ) - [F] —
void
— Set Background Model — ( GameSetBackground )
# Examples
# campaigns/void.sc2campaign
// L3360
FogSetColorOverTime(Color(100.00, 35.29, 16.86), 2.0)
// L5846
FogSetColorOverTime(Color(36.86, 85.88, 77.25), 4.0)
// L3949
FogSetColorOverTime(Color(21.57, 34.51, 44.31), 90.0)
// L3360
FogSetColorOverTime(Color(100.00, 35.29, 16.86), 2.0)
// L5846
FogSetColorOverTime(Color(36.86, 85.88, 77.25), 4.0)
// L3949
FogSetColorOverTime(Color(21.57, 34.51, 44.31), 90.0)