Environment class final
The sky and the light that doesn't come from lights.
Constructors
Properties
- ambientGround ↔ (double, double, double)
-
Ambient from below.
getter/setter pair
- ambientSky ↔ (double, double, double)
-
Ambient from above (hemisphere light).
getter/setter pair
- clearColor ↔ (double, double, double)
-
Background when there is no sky (linear).
getter/setter pair
- exposure ↔ double
-
Exposure before tonemapping.
getter/setter pair
- fogColor ↔ (double, double, double)
-
Fog colour (linear).
getter/setter pair
- fogDensity ↔ double
-
How thick fog is, per metre: 0 for none; 0.02 hides things a hundred
metres off.
getter/setter pair
- fogStart ↔ double
-
Metres from the camera where fog begins.
getter/setter pair
- ground ↔ (double, double, double)
-
Below the horizon.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizon ↔ (double, double, double)
-
Horizon colour.
getter/setter pair
- map ↔ GpuEnvironmentMap?
-
What surrounds the scene, for its ambient light and reflections (and
the skybox); null for the hemisphere light (ambientSky,
ambientGround).
getter/setter pair
- reflections ↔ double
-
How strong map's reflections are: 0 for none (its diffuse light
still counts).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sky ↔ bool
-
Whether the gradient sky is drawn; otherwise clearColor.
getter/setter pair
- skybox ↔ bool
-
Whether the sky shows map rather than the gradient.
getter/setter pair
- skyboxBlur ↔ double
-
How blurred the skybox is: 0 sharp, 1 its blurriest level.
getter/setter pair
- zenith ↔ (double, double, double)
-
Zenith, horizon and ground of the gradient sky (linear).
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