Back to Filament

getIntensity

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

1.75.0727 B
Original Source

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

getIntensity

[main]
open fun getIntensity(i: Int): Float

returns the light's luminous intensity in lumens.

note: for FOCUSED_SPOT lights, the returned value depends on the outer cone angle.

Return

luminous intensity in lumen.

Parameters

main

iInstance of the component obtained from getInstance().