Back to Filament

getFalloff

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

1.75.0582 B
Original Source

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

getFalloff

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

returns the falloff distance of this light.

Return

the falloff distance of this light.

Parameters

main

iInstance of the component obtained from getInstance().