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
| 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. |
Remarks
The following table lists the characteristics of this property.
| Available in Run-Time Engine and Real-Time Operating System | Yes |
| Permissions | Write In Edit Only |
| 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 disallowed | No |
| Must wait until user interface is idle | No |
| Available with control VIs | No |
| Available with global VIs | No |
| Available with strict type definitions | No |
| Available with polymorphic VIs | No |