| ImageBasedLightDiffuseIntensity Property |
Gets or sets the diffuse 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 DiffuseIntensity { get; set; }
Public Property DiffuseIntensity As Single
Get
Set
public:
property float DiffuseIntensity {
float get ();
void set (float value);
}
member DiffuseIntensity : float32 with get, set
Property Value
Type:
SingleThe diffuse intensity of the light. The default value is 1.
Remarks
Setting the diffuse intensity to NaN has a special meaning and is used
to disable the diffuse contribution of this light. That means, if the intensity is
NaN, the ImageBasedLight does not influence the diffuse
light buffer of the scene.
Color and DiffuseIntensity are separate properties so the values
can be adjusted independently.
See Also