Builder

actual class Builder

Builder for creating IndirectLight instances.

Set reflections and/or irradiance, configure intensity and rotation, then call build().

expect class Builder

Builder for creating IndirectLight instances.

Set reflections and/or irradiance, configure intensity and rotation, then call build().

actual class Builder

Builder for creating IndirectLight instances.

Set reflections and/or irradiance, configure intensity and rotation, then call build().

actual class Builder

Builder for creating IndirectLight instances.

Set reflections and/or irradiance, configure intensity and rotation, then call build().

actual class Builder

Builder for creating IndirectLight instances.

Set reflections and/or irradiance, configure intensity and rotation, then call build().

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
constructor()
actual constructor()
actual constructor()

Functions

Link copied to clipboard
actual fun build(engine: Engine): IndirectLight

Creates the IndirectLight object.

expect fun build(engine: Engine): IndirectLight

Creates the IndirectLight object.

actual fun build(engine: Engine): IndirectLight

Creates the IndirectLight object.

actual fun build(engine: Engine): IndirectLight

Creates the IndirectLight object.

actual fun build(engine: Engine): IndirectLight

Creates the IndirectLight object.

Link copied to clipboard
actual fun intensity(envIntensity: Float): IndirectLight.Builder

Sets the environment's overall intensity multiplier.

expect fun intensity(envIntensity: Float): IndirectLight.Builder

Sets the environment's overall intensity multiplier.

actual fun intensity(envIntensity: Float): IndirectLight.Builder

Sets the environment's overall intensity multiplier.

actual fun intensity(envIntensity: Float): IndirectLight.Builder

Sets the environment's overall intensity multiplier.

actual fun intensity(envIntensity: Float): IndirectLight.Builder

Sets the environment's overall intensity multiplier.

Link copied to clipboard

Sets the irradiance cubemap (for diffuse lighting only).

Sets the irradiance from pre-convolved spherical harmonics coefficients.

Sets the irradiance cubemap (for diffuse lighting only).

Sets the irradiance from pre-convolved spherical harmonics coefficients.

Sets the irradiance cubemap (for diffuse lighting only).

Sets the irradiance from pre-convolved spherical harmonics coefficients.

Sets the irradiance cubemap (for diffuse lighting only).

Sets the irradiance from pre-convolved spherical harmonics coefficients.

Sets the irradiance cubemap (for diffuse lighting only).

Sets the irradiance from pre-convolved spherical harmonics coefficients.

Link copied to clipboard
actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

expect fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

actual fun radiance(bands: Int, sh: FloatArray): IndirectLight.Builder

Sets the irradiance computed from radiance spherical harmonics coefficients.

Link copied to clipboard

Sets the reflections cubemap mipmap chain.

Sets the reflections cubemap mipmap chain.

Sets the reflections cubemap mipmap chain.

Sets the reflections cubemap mipmap chain.

Sets the reflections cubemap mipmap chain.

Link copied to clipboard

Rotates the environment mapping.

Rotates the environment mapping.

Rotates the environment mapping.

Rotates the environment mapping.

Rotates the environment mapping.