SkyEnvironmentSpec class

Sky-driven lighting: bakes a shader sky into the scene's image-based lighting on a refresh policy.

Constructors

SkyEnvironmentSpec(SkySourceSpec source, {String refresh = 'manual', double intervalSeconds = 1.0, int faceResolution = 128, int equirectWidth = 512})
Creates the spec with the runtime defaults.

Properties

equirectWidth int
Width of the assembled equirect the prefilter and SH projection read.
getter/setter pair
faceResolution int
Cube-face capture resolution for the bake.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
intervalSeconds double
Minimum time between bakes for the interval policy, in seconds.
getter/setter pair
refresh String
The refresh policy name (mapped to the runtime enum at realization): manual, interval, or everyFrame.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source SkySourceSpec
The sky baked into the lighting. Must be a shader sky (FmatSkySpec, GradientSkySpec, or PhysicalSkySpec); an EnvironmentSkySpec cannot light itself and is skipped with a warning at realization.
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