PlayAnimation

Type Alias PlayAnimation 

Source
pub type PlayAnimation = PlayAnimation<Handle<Node>>;
Expand description

Scene specific animation pose node.

Aliased Type§

pub struct PlayAnimation {
    pub base: BasePoseNode<Handle<Node>>,
    pub animation: Handle<Animation<Handle<Node>>>,
    pub output_pose: RefCell<AnimationPose<Handle<Node>>>,
}

Fields§

§base: BasePoseNode<Handle<Node>>

Base node.

§animation: Handle<Animation<Handle<Node>>>

A handle to animation.

§output_pose: RefCell<AnimationPose<Handle<Node>>>

Output pose, it contains a filtered (see crate::machine::LayerMask for more info) pose from the animation specified by the animation field.