Light
@UiThread()
Content copied to clipboard
The global light source.
Check the online documentation.
Constructors
Types
Functions
anchor
Link copied to clipboard
bindTo
Link copied to clipboard
color
Link copied to clipboard
colorTransition
Link copied to clipboard
open override fun colorTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun colorTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for colorTransition.
intensity
Link copied to clipboard
intensityTransition
Link copied to clipboard
open override fun intensityTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun intensityTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for intensityTransition.
position
Link copied to clipboard
positionTransition
Link copied to clipboard
open override fun positionTransition(options: StyleTransition): <ERROR CLASS>
Content copied to clipboard
open override fun positionTransition(block: StyleTransition.Builder.() -> Unit): <ERROR CLASS>
Content copied to clipboard
DSL for positionTransition.
Properties
anchorAsExpression
Link copied to clipboard
This is an Expression representation of "anchor".
colorAsColorInt
Link copied to clipboard
Color tint for lighting extruded geometries.
colorAsExpression
Link copied to clipboard
This is an Expression representation of "color".
colorTransition
Link copied to clipboard
Color property transition options.
intensityAsExpression
Link copied to clipboard
This is an Expression representation of "intensity".
intensityTransition
Link copied to clipboard
Intensity property transition options.
position
Link copied to clipboard
Position of the light source relative to lit (extruded) geometries, in r radial coordinate, a azimuthal angle, p polar angle where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0 degree (0 degree when
light.anchor
is set to viewport
corresponds to the top of the viewport, or 0 degree when light.anchor
is set to map
corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0 degree, directly above, to 180 degree, directly below).positionAsExpression
Link copied to clipboard
This is an Expression representation of "position".
positionTransition
Link copied to clipboard
Position property transition options.