Mod:Creation Kit/SetFogPlanes - Cell

Member of: Mod:Creation Kit/Cell Script

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

Syntax
Function SetFogPlanes(float afNear, float afFar) native

Parameters

 * 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
None.

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