LightComponentBase.Intensity Property

Definition

The overall brightness and range of the light.

public:
 property float Intensity { float get(); void set(float value); };
public float Intensity { get; set; }
member this.Intensity : single with get, set
Public Property Intensity As Single

Property Value

Remarks

This value has no physical unit, however, it can be considered to be proportional to the physical power of the light source.

For lights that have a falloff (SpotLightComponent and PointLightComponent), the intensity determines both brightness and range of influence. For infinite light sources (DirectionalLightComponent) it only determines the brightness.

At an intensity of 1000 a point light roughly has a range of 100 world units. However, note that this doesn't scale linearly.

A InvalidParam error occurs if the value is negative, NaN or infinite.

Applies to