SceneObject class/Fog.Function property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 2D877810
Scope Basic Development Environment
Data Name Fog.Function
Short Name* Fog.Function
Long Name* Fog:Function
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 105
Owning Class Name SceneObject Class
Data Type Enum U16 data type

Enum U16

Property Node Fog:Function
Available in Real-Time Operating SystemNo
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
PermissionsRead/Write
Remote access allowedYes
Settable when the VI is runningYes

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

Values
0 Inherit Fog—Applies fog to the object according to the blending factor of a parent object.
1 No Fog—Renders the object with no fog.
2 Linear 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.

3 Exponential 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.

4 Exponential 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.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links