AmbientLight class
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.
- SeeAlso: Mapbox Style Specification
Constructors
- AmbientLight({required String id, int? color, TransitionOptions? colorTransition, double? intensity, TransitionOptions? intensityTransition})
Properties
- color ↔ int?
-
Color of the ambient light.
getter/setter pair
- colorTransition ↔ TransitionOptions?
-
Transition property for
color
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Unique light name
getter/setter pair
- intensity ↔ double?
-
A multiplier for the color of the ambient light.
getter/setter pair
- intensityTransition ↔ TransitionOptions?
-
Transition property for
intensity
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decode(
Object result) → AmbientLight