| ImageBasedLightFalloffRange Property |
Gets or sets the relative distance over which light effect falls off.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float FalloffRange { get; set; }
Public Property FalloffRange As Single
Get
Set
public:
property float FalloffRange {
float get ();
void set (float value);
}
member FalloffRange : float32 with get, set
Property Value
Type:
Single
The relative distance over which the light is falls off. The value is in the range [0, 1].
The default is 0.1 (= 10 %).
Remarks
This value is only used for ImageBasedLight where the Shape is a
BoxShape. If this value is 0, the whole box is lit. If this value is 1, the
light has full effect in the center and has no effect at the sides of the box. If the value
is between 0 and 1, the falloff affects only the outer border; e.g if the
FalloffRange is 0.1, the falloff happens only in the outer 10% of the box.
See Also