| ImageBasedLight.EnableLocalizedReflection Property |
Gets or sets a value indicating whether the cube map reflection is localized.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool EnableLocalizedReflection { get; set; }
Public Property EnableLocalizedReflection As Boolean
Get
Set
public:
property bool EnableLocalizedReflection {
bool get ();
void set (bool value);
}
member EnableLocalizedReflection : bool with get, set
Property Value
Type:
Booleantrue if the reflection is localized; otherwise,
false.
The default value is
false.
Remarks
If EnableLocalizedReflection is false, the cube map is
treated as if the content of the cube map is infinitely far away. If
EnableLocalizedReflection is true, the cube map is treated
as if the content was captured from a finite box around the light.
The projection box used to localize reflection is defined using
LocalizedReflectionBox. (The LocalizedReflectionBox can be
null. In this case the Shape is used to localize the
reflections.)
See Also