Attenuation Property

LabView Local Project Settings

Attenuation Property

Short Name: Attenuation

Installed With: Full Development System

Class: SceneLight Properties

Reads or writes the factors of attenuation applied to the light. Attenuation mimics how the intensity of light diminishes as you increase distance from the light.

Attenuation is determined using the following equation:

where:

kc = constant attenuation

kl = linear attenuation

kq = quadratic attenuation

d = the distance between the position of the light and the vertex

Elements

Name Description
Constant Attenuation Indicates the constant factor of attenuation (kc) you apply to the light. The constant factor of attenuation does not change as distance from the light increases.
Linear Attenuation Indicates the linear factor of attenuation (kl) you apply to the light. The linear factor of attenuation drops in a linear manner as distance from the light increases.
Quadratic Attenuation Indicates the quadratic factor of attenuation (kq) you apply to the light. The quadratic factor of attenuation drops by the square of the distance from the light.

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemYes
PermissionsRead/Write
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