| ImageBasedLightSpecularIntensity Property |
Gets or sets the specular intensity of the light.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float SpecularIntensity { get; set; }
Public Property SpecularIntensity As Single
Get
Set
public:
property float SpecularIntensity {
float get ();
void set (float value);
}
member SpecularIntensity : float32 with get, set
Property Value
Type:
SingleThe specular intensity of the light. The default value is 1.
Remarks
Setting the specular intensity to NaN has a special meaning and is used
to disable the specular contribution of this light. That means, if the intensity is
NaN, the ImageBasedLight does not influence the specular
light buffer of the scene.
Color and SpecularIntensity are separate properties so the
values can be adjusted independently.
See Also