AdditiveNode class
A node that adds animations on top of a base layer (additive blending)
- Inheritance
-
- Object
- BlendTreeNode
- AdditiveNode
Constructors
-
AdditiveNode({required String id, required String name, required BlendTreeNode baseLayer, required BlendTreeNode additiveLayer, double additiveWeight = 1.0, String? weightParameterName, Map<
String, double> position = const {}}) -
const
- AdditiveNode.fromMap(Map map)
-
factory
Properties
- additiveLayer → BlendTreeNode
-
Additive animation layer
final
- additiveWeight → double
-
Weight of the additive layer
final
- baseLayer → BlendTreeNode
-
Base animation layer
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this node
finalinherited
- name → String
-
Display name for this node
finalinherited
-
position
→ Map<
String, double> -
Position in the blend tree (for editor visualization)
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- weightParameterName → String?
-
Parameter name to control additive weight (optional)
final
Methods
-
evaluate(
Map< String, dynamic> parameters) → AnimationBlendSet -
Calculate the output of this blend tree node
override
-
getUsedAnimations(
) → List< String> -
Get all animation IDs used by this node and its children
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Convert to map representation
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited