SceneDiff class

The set of changes between two documents.

Constructors

SceneDiff({required List<LocalId> added, required List<LocalId> removed, required List<NodeChange> changed, bool animationsChanged = false, bool stageChanged = false})
Creates a diff from its parts.

Properties

added → List<LocalId>
Node ids present in the new document but not the old (to realize and attach).
final
animationsChanged → bool
Whether the realized animations would differ: the animation pool changed (an animation or its keyframe payloads), or a channel-target node was added, removed, renamed, or had its rest transform changed (animations bind by target name and capture bind poses from rest transforms).
final
changed → List<NodeChange>
Nodes present in both whose content changed.
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Whether nothing changed.
no setter
removed → List<LocalId>
Node ids present in the old document but not the new (to detach).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stageChanged → bool
Whether the stage render settings changed (environment, exposure, tone mapping, skybox, or sky lighting). The node patch does not apply these; callers holding a Scene re-apply the stage when set (see realizeStage).
final

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