Fog:Function Property

LabView Local Project Settings

Fog:Function Property

Short Name: Fog.Function

Installed With: Full Development System

Class: SceneObject Properties

Reads or writes the blending factor you use to apply fog to an object.

Values

0Inherit Fog—Applies fog to the object according to the blending factor of a parent object.
1No Fog—Renders the object with no fog.
2Linear Fog—Applies fog to the object according to the following equation:

f=e–(densityz)

where f is the blend factor and z is the distance from the viewpoint to the center of the fogged fragment in eye coordinates.
3Exponential Fog—Applies fog to the object according to the following equation:

f=e–(densityz)2

where f is the blend factor and z is the distance from the viewpoint to the center of the fogged fragment in eye coordinates.
4Exponential Square Fog—Applies fog to the object according to the following equation:

f=(endz)/(endstart)

where f is the blend factor and z is the distance from the viewpoint to the center of the fogged fragment in eye coordinates.

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemYes
PermissionsWrite In Edit Only
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo