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.

Constructors

AmbientLight({required String id, int? color, TransitionOptions? colorTransition, double? intensity, TransitionOptions? intensityTransition})

Properties

color int?
Color of the ambient light.
read / write
colorTransition TransitionOptions?
Transition property for color
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
Unique light name
read / write
intensity double?
A multiplier for the color of the ambient light.
read / write
intensityTransition TransitionOptions?
Transition property for intensity
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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