StageMetadata class
Scene-wide, non-spatial render settings (lights and cameras are per-node components, not stage data).
Constructors
- StageMetadata({UpAxis upAxis = UpAxis.y, Handedness handedness = Handedness.left, double unitsPerMeter = 1.0, EnvironmentSpec environment = const StudioEnvironment(), double environmentIntensity = 1.0, double exposure = 1.0, String toneMapping = 'pbrNeutral', String antiAliasingMode = 'auto', double renderScale = 1.0, String filterQuality = 'medium', SkyboxSpec? skybox, SkyEnvironmentSpec? skyEnvironment})
- Creates stage metadata with the documented defaults.
Properties
- antiAliasingMode ↔ String
-
The anti-aliasing mode name (
none,msaa,fxaa,auto), the scene-wide default views inherit.getter/setter pair - environment ↔ EnvironmentSpec
-
The image-based-lighting environment.
getter/setter pair
- environmentIntensity ↔ double
-
Scalar multiplier on the environment's contribution.
getter/setter pair
- exposure ↔ double
-
Linear exposure multiplier applied before tone mapping.
getter/setter pair
- filterQuality ↔ String
-
The composite filter-quality name (
none,low,medium,high), the scene-wide default views inherit.getter/setter pair - handedness ↔ Handedness
-
The authored handedness.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- renderScale ↔ double
-
Resolution scale relative to the display's native, the scene-wide
default views inherit.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skybox ↔ SkyboxSpec?
-
The visible background sky, when set.
getter/setter pair
- skyEnvironment ↔ SkyEnvironmentSpec?
-
Sky-driven lighting (a sky baked into the environment on a refresh
policy), when set. While set, it owns the scene environment, so
environment is not applied.
getter/setter pair
- toneMapping ↔ String
-
The tone-mapping operator name (mapped to the runtime enum at
realization).
getter/setter pair
- unitsPerMeter ↔ double
-
World units per meter.
getter/setter pair
- upAxis ↔ UpAxis
-
The authored up axis.
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