Back to Filament

setSunHaloSize

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

1.75.0707 B
Original Source

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

setSunHaloSize

[main]
open fun setSunHaloSize(i: Int, haloSize: Float)

Dynamically updates the halo radius of a Type.SUN light. The radius of the halo is defined as a multiplier of the sun angular radius.

Parameters

main

iInstance of the component obtained from getInstance().
haloSizeradius multiplier. Default is 10.0.