AmbientLightState

An indirect light affecting all objects in the map adding a constant amount of light on them. It has no explicit direction and cannot cast shadows.

See also

Constructors

Link copied to clipboard
fun AmbientLightState(id: String = generateRandomLightId("ambient"))

Types

Link copied to clipboard
object Companion

Public companion object.

Link copied to clipboard
data class Holder(val savedProperties: Map<String, Value>) : Parcelable

AmbientLightState Holder class to be used within Saver.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Overwrite the equals for AmbientLightState.

Link copied to clipboard
open override fun hashCode(): Int

Overwrite the hashcode for AmbientLightState.

Link copied to clipboard
open override fun toString(): String

Overwrite the toString for AmbientLightState.

Properties

Link copied to clipboard

Color of the ambient light.

Link copied to clipboard

Defines the transition of color.

Link copied to clipboard
val id: String

The id of the AmbientLightState.

Link copied to clipboard

A multiplier for the color of the ambient light.

Link copied to clipboard

Defines the transition of intensity.