Back to Filament

setIntensityCandela

docs/android/dokka/filament-android/com.google.android.filament/-light-manager/set-intensity-candela.md

1.75.0869 B
Original Source

//filament-android/com.google.android.filament/LightManager/setIntensityCandela

setIntensityCandela

[main]
open fun setIntensityCandela(i: Int, intensity: Float)

Dynamically updates the light's intensity in candela. The intensity can be negative. This method is equivalent to calling setIntensity for directional lights (Type.DIRECTIONAL or Type.SUN).

Parameters

main

iInstance of the component obtained from getInstance().
intensityLuminous intensity in candela.

See also

LightManager.Builder