SunLighting class final

A lighting type where the position of the light is set to simulate the sun's location.

Inheritance

Constructors

SunLighting({required DateTime simulatedDate, required bool areDirectShadowsEnabled})
Creates a sun lighting for lighting a scene.
factory

Properties

areDirectShadowsEnabled bool
True if shadows cast by the main light source should be shown, false otherwise.
getter/setter pairinherited
displayTimeZone TimeZoneOffset?
The preferred time zone authored with the web scene.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simulatedDate DateTime
The current date and time of the simulated sun in UTC.
getter/setter pair

Methods

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