Packagealternativa.engine3d.animation
Classpublic class AnimationCouple
InheritanceAnimationCouple Inheritance AnimationNode Inheritance Object

Blends two animations according to the balance value. Mixes two animations with the given percentage. Any of AnimationClip, AnimationSwitcher, AnimationCouple classes can be blended.



Public Properties
 PropertyDefined By
  balance : Number = 0.5
The balance is a value in [0, 1] interval which specifies weight coefficient for each animation.
AnimationCouple
 InheritedisActive : Boolean
[read-only] Determines if the animation is active.
AnimationNode
  left : AnimationNode
The first animation.
AnimationCouple
 Inheritedparent : AnimationNode
[read-only] Parent of this node in animation tree hierarchy.
AnimationNode
  right : AnimationNode
The second animation.
AnimationCouple
 Inheritedspeed : Number = 1
Animation speed.
AnimationNode
Property Detail
balanceproperty
public var balance:Number = 0.5

The balance is a value in [0, 1] interval which specifies weight coefficient for each animation. The first (left) animation gets weight of (1 - balance) and the second (right) one gets weigth of balance.

leftproperty 
left:AnimationNode

The first animation.


Implementation
    public function get left():AnimationNode
    public function set left(value:AnimationNode):void
rightproperty 
right:AnimationNode

The second animation.


Implementation
    public function get right():AnimationNode
    public function set right(value:AnimationNode):void