Back to Filament

setIntensity

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

1.75.0643 B
Original Source

//filament-android/com.google.android.filament/IndirectLight/setIntensity

setIntensity

[main]
open fun setIntensity(intensity: Float)

Sets the environment's intensity.

Because the environment is encoded usually relative to some reference, the range can be adjusted with this method.

Parameters

main

intensityScale factor applied to the environment and irradiance such that the result is in lux, or lumen/m^2 (default = 30000)