Back to Filament

getSunHaloSize

docs/android/dokka/filament-android/com.google.android.filament/-light-manager/get-sun-halo-size.md

1.75.0625 B
Original Source

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

getSunHaloSize

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

returns the halo size of a Type.SUN light as a multiplier of the sun angular radius.

Return

the halo size

Parameters

main

iInstance of the component obtained from getInstance().