SceneLight class/Attenuation property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 276F0808
Scope Basic Development Environment
Data Name Attenuation
Short Name* Attenuation
Long Name* Attenuation
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 106
Owning Class Name SceneLight Class
Data Type Numeric Cluster TypeDef data type

Numeric Cluster TypeDef

Property Node Attenuation
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 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:

<img src="noloc_eq_attenuation.gif"> 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.

Uses

History

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

See Also

External Links