AnimationClip constructor

AnimationClip(
  1. Animation _animation,
  2. Node bindTarget
)

Binds _animation to the node subtree rooted at bindTarget.

Only channels whose BindKey.nodeName is found in the subtree are retained; missing nodes are silently ignored.

Implementation

AnimationClip(this._animation, Node bindTarget) {
  _bindToTarget(bindTarget);
}