SetGlobalFogParameter

From ZDoom Wiki
Jump to navigation Jump to search
Circle gzdoom.png Warning: This feature is GZDoom specific, and is not compatible with ZDoom!
To see all of GZDoom's specific features, see GZDoom features.


157:SetGlobalFogParameter (property, value)


Changes the fog properties specified in MAPINFO.

Parameters

  • property: One of the following constant identifiers must be used (numbers are provided for use on a linedef or map object):
0—FOGP_DENSITY corresponds to the fogdensity property.
1—FOGP_OUTSIDEDENSITY corresponds to the outsidefogdensity property.
2—FOGP_SKYFOG corresponds to the skyfog property.
  • value: The new value of the chosen property.