Click or drag to resize
DigitalRuneSpotlightAttenuation Property
Gets or sets the attenuation exponent for the distance attenuation.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float Attenuation { get; set; }

Property Value

Type: Single
The attenuation exponent. The default value is 2.
Remarks
This exponent defines the shape of the distance attenuation curve. See also GetDistanceAttenuation(Single, Single, Single).
See Also