MergeAnimatorclass is an animator that merges outputs from its subanimators.
class MergeAnimator : public Animator
MergeAnimator(Model *model, Node *node = nullptr);
||The model to which the animator applies.|
||The target node, which is the root of the subtree within the model that is affected by the animator. If this is |
MergeAnimatorclass is used to merge the outputs of multiple animators applied to different parts of a model. The range of nodes affected by a merge animator is the union of the ranges affected by its immediate subanimators, restricted to the range of the merge animator itself.
MergeAnimatorclass supports any number of subanimators. If any subanimators have overlapping ranges of affected nodes, then subanimators further to the right in the animator tree take priority over their predecessors.