System: Scar
>
Functions | |
void | fogSetActive (bool active) |
enables fog for the level | |
void | fogSetStart (float start) |
Sets the start plane for fog. | |
void | fogSetEnd (float end) |
Sets the end plane for fog. | |
void | fogSetDensity (float density) |
Sets the fog density. | |
void | fogSetColour (float r, float g, float b, float a) |
set colour for fog, red, green, blue and alpha between 0 and 1 | |
void | fogSetType (const char *mode) |
sets the fog mode, linear, exp, or exp2 | |
void | fogAddInterpolator (const char *buf, float length, float target) |
add an interpolator for a fog parameter buf: it can be one of these string values fogStart, fogEnd, fogDensity, fogR, fogG, fogB length: duration of the event target: final value of the modified parameter |