intensity

open var intensity: Float

Dynamically updates the light's intensity

The intensity can be negative.

This parameter depends on the LightManager.Type, for directional lights, it specifies the illuminance in lux (or lumen/m^2). For point lights and spot lights, it specifies the luminous power in lumen. For example, the sun's illuminance is about 100,000 lux.

This method is equivalent to calling setIntensity for directional lights (LightManager.Type.DIRECTIONAL or LightManager.Type.SUN).

See also

LightManager.getIntensity
LightManager.setIntensity