SetFogPlanes - Cell
Jump to navigation
Jump to search
Member of: Cell Script
Sets the near and far fog plane distances for this cell. Only works in non-sky-lit interiors.
Syntax[edit | edit source]
Function SetFogPlanes(float afNear, float afFar) native
Parameters[edit | edit source]
- 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 Value[edit | edit source]
None.
Examples[edit | edit source]
; Make this cell really foggy
FoggyCell.SetFogPlanes(0.0, 1000.0)