Package | alternativa.engine3d.animation |
Class | public class AnimationCouple |
Inheritance | AnimationCouple ![]() ![]() |
AnimationClip
,
AnimationSwitcher
, AnimationCouple
classes can be blended.
Property | Defined By | ||
---|---|---|---|
balance : Number = 0.5
The balance is a value in [0, 1] interval which specifies weight coefficient for each animation. | AnimationCouple | ||
![]() | isActive : Boolean [read-only]
Determines if the animation is active. | AnimationNode | |
left : AnimationNode
The first animation. | AnimationCouple | ||
![]() | parent : AnimationNode [read-only]
Parent of this node in animation tree hierarchy. | AnimationNode | |
right : AnimationNode
The second animation. | AnimationCouple | ||
![]() | speed : Number = 1
Animation speed. | AnimationNode |
balance | property |
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.
left | property |
left:AnimationNode
The first animation.
public function get left():AnimationNode
public function set left(value:AnimationNode):void
right | property |
right:AnimationNode
The second animation.
public function get right():AnimationNode
public function set right(value:AnimationNode):void