docs/android/dokka/filament-android/com.google.android.filament/-indirect-light/-builder/index.md
//filament-android/com.google.android.filament/IndirectLight/Builder
[main]
open class Builder
Use Builder to construct an IndirectLight object instance.
| Builder | [main] |
| constructor() | |
Use Builder to construct an IndirectLight object instance. |
| Name | Summary |
|---|---|
| build | [main] |
| open fun build(engine: Engine): IndirectLight | |
| Creates the IndirectLight object and returns a pointer to it. | |
| intensity | [main] |
| open fun intensity(envIntensity: Float): IndirectLight.Builder | |
| Environment intensity (optional). | |
| irradiance | [main] |
| open fun irradiance(cubemap: Texture): IndirectLight.Builder | |
| Sets the irradiance as a cubemap. | |
| [main] | |
| open fun irradiance(bands: Int, sh: Array<Float>): IndirectLight.Builder | |
| Sets the irradiance as Spherical Harmonics. | |
| radiance | [main] |
| open fun radiance(bands: Int, sh: Array<Float>): IndirectLight.Builder | |
| Sets the irradiance from the radiance expressed as Spherical Harmonics. | |
| reflections | [main] |
| open fun reflections(cubemap: Texture): IndirectLight.Builder | |
| Set the reflections cubemap mipmap chain. | |
| rotation | [main] |
| open fun rotation(rotation: Array<Float>): IndirectLight.Builder | |
| Specifies the rigid-body transformation to apply to the IBL. |