ShadowCatcherMode enum Materials

How a ShadowCatcherMaterial evaluates its shadow term each frame.

Inheritance
Available extensions

Values

live → const ShadowCatcherMode

The shadow atlas (cascades plus spot tiles) is sampled per fragment every frame. Always correct, including moving lights and casters.

baked → const ShadowCatcherMode

The atlas shadow is rendered once into a low-resolution footprint cache, separable-blurred, and sampled per frame, the cheap opt-in for static product scenes. The cache refreshes on load and on ShadowCatcherMaterial.markBakedShadowsDirty; a moving light or caster otherwise leaves the baked shadow behind. The screen-space contact and occlusion terms stay live (they are view-dependent).

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<ShadowCatcherMode>
A constant List of the values in this enum, in order of their declaration.