Background for Fallout 4
Member of the Cell script
voidfunctionSetFogPlanes(floatafNear, floatafFar)Native

Description

Wiki Description

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

Documentation Comment

Adjusts this cell's fog near and far planes (interior, non-sky-lit cells only)


Caveats


Parameters

floatafNear

CK Wiki Description

The distance to the near fog plane - if larger then far, the values will be swapped.

floatafFar

CK Wiki Description

The distance to the far fog plane - if smaller then near, the values will be swapped.


Examples

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

Auto-Generated Example

float myFloat__afNear
float myFloat__afFar

myCell__toCallFunctionOn.SetFogPlanes(myFloat__afNear, myFloat__afFar)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.