SetFogPlanes - Cell

Member of: Cell Script

Sets the near and far fog plane distances for this cell. Only works in non-sky-lit interiors.

SyntaxEdit

Function SetFogPlanes(float afNear, float afFar) native

ParametersEdit

  • afNear: The distance to the near fog plane - if larger then far, the values will be swapped.
  • afFar: The distance to the far fog plane - if smaller then near, the values will be swapped.

Return ValueEdit

None.

ExamplesEdit

; Make this cell really foggy
FoggyCell.SetFogPlanes(0.0, 1000.0)

See AlsoEdit