AnimationPose

Type Alias AnimationPose 

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

Scene specific animation pose.

Aliased Type§

pub struct AnimationPose { /* private fields */ }

Trait Implementations§

Source§

impl AnimationPoseExt for AnimationPose

Source§

fn apply_internal(&self, nodes: &mut NodePool)

Tries to set each value to the each property from the animation pose to respective scene nodes.
Source§

fn apply(&self, graph: &mut Graph)

Tries to set each value to the each property from the animation pose to respective scene nodes.
Source§

fn apply_with<C>(&self, graph: &mut Graph, callback: C)
where C: FnMut(&mut Node, Handle<Node>, &NodePose),

Calls given callback function for each node and allows you to apply pose with your own rules. This could be useful if you need to ignore transform some part of pose for a node.