AmbientLight

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.

Check the online documentation.

Functions

Link copied to clipboard
open override fun color(color: Expression): AmbientLight
open override fun color(@ColorInt color: Int): AmbientLight
open override fun color(color: String): AmbientLight

Color of the ambient light.

Link copied to clipboard
open override fun colorTransition(options: StyleTransition): AmbientLight

Set the Color property transition options.

open override fun colorTransition(block: StyleTransition.Builder.() -> Unit): AmbientLight
Link copied to clipboard
open override fun intensity(intensity: Expression): AmbientLight
open override fun intensity(intensity: Double): AmbientLight

A multiplier for the color of the ambient light.

Link copied to clipboard
open override fun intensityTransition(options: StyleTransition): AmbientLight

Set the Intensity property transition options.

Properties

Link copied to clipboard

Color of the ambient light.

Link copied to clipboard

Color of the ambient light.

Link copied to clipboard

Color of the ambient light.

Link copied to clipboard

Color property transition options.

Link copied to clipboard

A multiplier for the color of the ambient light.

Link copied to clipboard

A multiplier for the color of the ambient light.

Link copied to clipboard

Intensity property transition options.

Link copied to clipboard
open override val lightId: String

The ID of the Light.