PlayAnimation

Type Alias PlayAnimation 

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

UI-specific animation pose node.

Aliased Type§

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

Fields§

§base: BasePoseNode<Handle<UiNode>>

Base node.

§animation: Handle<Animation<Handle<UiNode>>>

A handle to animation.

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

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