MapSceneLights class abstract

Manage the lights and their attributes in a scene.

Constructors

MapSceneLights()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getColor(MapSceneLightsCategory category) → Color?
Retrieves the current color of the light based on its category.
getDirection(MapSceneLightsCategory category) MapSceneLightsDirection?
Retrieves the current direction of the light based on its category.
getIntensity(MapSceneLightsCategory category) → double?
Retrieves the current intensity of the light based on its category.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets all attributes of each light to their default values based on the current map scene settings.
setColor(MapSceneLightsCategory category, Color color, MapSceneLightsAttributeSettingCallback? callback) → void
Set a new color for the light based on its category.
setDirection(MapSceneLightsCategory category, MapSceneLightsDirection direction, MapSceneLightsAttributeSettingCallback? callback) → void
Set a new direction for the light based on its category.
setIntensity(MapSceneLightsCategory category, double intensity, MapSceneLightsAttributeSettingCallback? callback) → void
Set a new intensity for the light based on its category.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited