BindKey class

Identifies a single animation target as a (node name, property) pair.

Channel resolution is name-based rather than reference-based so that an Animation parsed from a model can be applied to any matching subtree (including cloned subtrees).

Implemented types

Constructors

BindKey({required String nodeName, AnimationProperty property = AnimationProperty.translation})
Creates a key that targets nodeName / property.

Properties

hashCode int
The hash code for this object.
no setterinherited
nodeName String
Name of the Node this channel targets, matched via Node.getChildByName.
final
property AnimationProperty
Which component of the node's transform this channel drives.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(BindKey other) int
Compares this object to another object.
override
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