SetFogPlanes - Cell

From Creation Kit
Jump to: navigation, search

Member of: Cell Script

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


Function SetFogPlanes(float afNear, float afFar) native


  • 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



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

See Also