Crate fyrox_animation
source ·Expand description
Animation allows you to change properties of arbitrary objects at runtime using a set of key frames.
See Animation
docs for more info.
Re-exports§
pub use pose::AnimationPose;
pub use pose::NodePose;
pub use signal::AnimationEvent;
pub use signal::AnimationSignal;
pub use fyrox_core as core;
Modules§
- Track data container is a flexible source of data for numeric parameters, it is built using a set of parametric curves. See
TrackDataContainer
docs for more info. - Animation blending state machine.
- Pose is a set of property values of a node (
NodePose
) or a set of nodes (AnimationPose
). - Signal is a named marker on specific time position on the animation timeline. See
AnimationSignal
docs for more info. - Sprite sheet animation is used to create simple key frame animation using single image with series of frames.
- Track is responsible in animating a property of a single scene node. See
Track
docs for more info. - A module that contains everything related to numeric values of animation tracks. See
TrackValue
docs for more info.
Structs§
- Overview
- A container for animations. It is a tiny wrapper around
Pool
, you should never create the container yourself, it is managed by the engine. - Motion of a root node of an hierarchy of nodes. It contains relative rotation and translation in local space of the node. To transform this data into velocity and orientation you need to multiply these parts with some global transform, usually with the global transform of the mesh that is being animated.
- Root motion settings. It allows you to set a node (root) from which the motion will be taken as well as filter out some unnecessary parts of the motion (i.e. do not extract motion on Y axis).
Traits§
- Identifier of an entity, that can be animated.