NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

NiFogProperty

NiFogProperty allows the application to enable, disable and control the appearance of fog.

Attributes

Name Type Description
From NiObject
From NiObjectNET
Skyrim Shader Type BSLightingShaderPropertyShaderType Configures the main shader path
Name string Name of this controllable object, used to refer to the object in .kf files.
Num Extra Data List uint The number of Extra Data objects referenced through the list.
Extra Data List Ref<NiExtraData> List of extra data indices.
Controller Ref<NiTimeController> Controller object index. (The first in a chain)
From NiProperty
From NiFogProperty
Flags Flags Bit 0: Enables Fog
Bit 1: Sets Fog Function to FOG_RANGE_SQ
Bit 2: Sets Fog Function to FOG_VERTEX_ALPHA

If Bit 1 and Bit 2 are not set, but fog is enabled, Fog function is FOG_Z_LINEAR.
Fog Depth float Depth of the fog in normalized units. 1.0 = begins at near plane. 0.5 = begins halfway between the near and far planes.
Fog Color Color3 The color of the fog.

Parent Of