RealizeContext class
Context handed to a ComponentCodec when realizing a ComponentSpec into a live Component. Carries the source document and a resources realizer so a codec (for example a mesh) can resolve referenced geometry and materials.
Constructors
- RealizeContext(SceneDocument document, {ResourceRealizer? resources})
-
Creates a realize context over
document, optionally with aresourcesrealizer.
Properties
- document → SceneDocument
-
The document being realized.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resources → ResourceRealizer?
-
Realizes referenced geometry/material resources, or null when resource
realization is unavailable (a codec needing it should return null).
final
- 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