Back to Filament

setIndirectLight

docs/android/dokka/filament-android/com.google.android.filament/-scene/set-indirect-light.md

1.75.0682 B
Original Source

//filament-android/com.google.android.filament/Scene/setIndirectLight

setIndirectLight

[main]
open fun setIndirectLight(ibl: IndirectLight)

Sets the IndirectLight to use when rendering the Scene. Currently, a Scene may only have a single IndirectLight. This call replaces the current IndirectLight.

Parameters

main

iblthe IndirectLight to use when rendering the Sceneor null to unset.