Short Name: Fog.Function
Requires: Full Development System
Class: SceneObject Properties
To Use: Create a property.
Reads or writes the blending factor you use to apply fog to an object.
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–(density•z) 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–(density•z)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=(end–z)/(end–start) where f is the blend factor and z is the distance from the viewpoint to the center of the fogged fragment in eye coordinates. |
The following table lists the characteristics of this property.
Data type | |
Permissions | Read/Write |
Available in Run-Time Engine | Yes |
Available in Real-Time Operating System | No |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |