GlobeLightingStyle class
Configuration for simulated directional and ambient lighting.
- Annotations
Constructors
- GlobeLightingStyle({double ambientIntensity = 0.35, double directionalIntensity = 0.65, Vector3D lightDirection = const Vector3D(-0.4, -0.4, 0.9)})
-
Creates the directional and ambient lighting tokens used by land dots.
const
Properties
- ambientIntensity → double
-
Ambient contribution to land-dot brightness in (0 to 1).
final
- directionalIntensity → double
-
Directional contribution to land-dot brightness in (0 to 1).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lightDirection → Vector3D
-
Directional light vector; normalized by the renderer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{double? ambientIntensity, double? directionalIntensity, Vector3D? lightDirection}) → GlobeLightingStyle - Copies these tokens, retaining any field whose argument is omitted.
-
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
-
lerp(
GlobeLightingStyle a, GlobeLightingStyle b, double t) → GlobeLightingStyle - Linearly interpolates between two GlobeLightingStyle instances.