setIntensity
Dynamically update the light's intensity. Meaning depends on light type:
Directional: illuminance in lux
Point/Spot: luminous power in lumen Intensity can be negative.
Parameters
Light instance
New intensity
Dynamically update the light's intensity from watts and efficiency. Equivalent to setIntensity(watts * 683.0 * efficiency).
Parameters
Light instance
Electrical power
Efficiency as a fraction
Dynamically update the light's intensity. Meaning depends on light type:
Directional: illuminance in lux
Point/Spot: luminous power in lumen Intensity can be negative.
Parameters
Light instance
New intensity
Dynamically update the light's intensity from watts and efficiency. Equivalent to setIntensity(watts * 683.0 * efficiency).
Parameters
Light instance
Electrical power
Efficiency as a fraction
Dynamically update the light's intensity. Meaning depends on light type:
Directional: illuminance in lux
Point/Spot: luminous power in lumen Intensity can be negative.
Parameters
Light instance
New intensity
Dynamically update the light's intensity from watts and efficiency. Equivalent to setIntensity(watts * 683.0 * efficiency).
Parameters
Light instance
Electrical power
Efficiency as a fraction
Dynamically update the light's intensity. Meaning depends on light type:
Directional: illuminance in lux
Point/Spot: luminous power in lumen Intensity can be negative.
Parameters
Light instance
New intensity
Dynamically update the light's intensity from watts and efficiency. Equivalent to setIntensity(watts * 683.0 * efficiency).
Parameters
Light instance
Electrical power
Efficiency as a fraction
Dynamically update the light's intensity. Meaning depends on light type:
Directional: illuminance in lux
Point/Spot: luminous power in lumen Intensity can be negative.
Parameters
Light instance
New intensity
Dynamically update the light's intensity from watts and efficiency. Equivalent to setIntensity(watts * 683.0 * efficiency).
Parameters
Light instance
Electrical power
Efficiency as a fraction