ShadowSettings class final
How the sun's shadows are drawn.
Constructors
Properties
- cascades ↔ int
-
Shadow maps over that distance: 1, or 2 (a sharp one near the camera
and a wider one beyond cascadeSplit). Each costs a shadow pass.
getter/setter pair
- cascadeSplit ↔ double
-
Where the second cascade takes over, as a share of distance.
getter/setter pair
- casterReach ↔ double
-
How far behind the shadowed region, towards the sun, casters still
count (a tall building out of view still shades the street), metres.
getter/setter pair
- depthBias ↔ double
-
Depth bias, metres.
getter/setter pair
- distance ↔ double
-
How far from the camera shadows reach, in metres.
getter/setter pair
- enabled ↔ bool
-
Whether the sun casts shadows.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapSize ↔ int
-
Texels along each side of the shadow map.
getter/setter pair
- normalOffsetTexels ↔ double
-
Receivers are pushed this many shadow-map texels along their normal
before the test, against self-shadowing acne.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strength ↔ double
-
How dark shadows are: 0 none, 1 full.
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