Skip to main content

Crate bevy_animation

Crate bevy_animation 

Source
Expand description

Animation for the game engine Bevy

Modules§

animatable
Traits and type for interpolating between values.
animation_curves
The AnimationCurve trait and adaptors that allow curves to implement it.
gltf_curves
Concrete curve structures used to load glTF curves into the animation system.
graph
The animation graph, which allows animations to be blended together.
prelude
The animation prelude.
transition
Animation transitions.

Macros§

animated_field
Returns an AnimatedField with a given $component and $field.

Structs§

ActiveAnimation
An animation that an AnimationPlayer is currently either playing or was playing, but is presently paused.
AnimatedBy
A component that links an animated entity to an entity containing an AnimationPlayer. Typically used alongside the AnimationTargetId component - the linked AnimationPlayer plays AnimationClip assets, and the AnimationTargetId identifies which curves in the AnimationClip will affect the target entity.
AnimationClip
A list of VariableCurves and the AnimationTargetIds to which they apply.
AnimationEvaluationState
Temporary data that the animate_targets system maintains.
AnimationEventTrigger
The Trigger implementation for AnimationEvent. This passes in either the AnimationPlayer or the AnimationTargetId context, and uses that to run any observers that target that entity. See AnimationEvent for when which entity is used.
AnimationPlayer
Animation controls.
AnimationPlugin
Adds animation support to an app
AnimationTargetId
A component that identifies which parts of an AnimationClip asset can be applied to an entity. Typically used alongside the AnimatedBy component.
VariableCurve
Contains an animation curve which is used to animate a property of an entity.

Enums§

AnimationEvaluationError
Why Bevy failed to evaluate an animation.
RepeatAnimation
Repetition behavior of an animation.

Statics§

ANIMATION_TARGET_NAMESPACE
The UUID namespace of animation targets (e.g. bones).

Traits§

AnimationEvent
An Event that an AnimationPlayer or an AnimationTargetId can trigger when playing an AnimationClip.

Functions§

advance_animations
A system that advances the time for all playing animations.
animate_targets
A system that modifies animation targets (e.g. bones in a skinned mesh) according to the currently-playing animations.

Type Aliases§

AnimationCurves
A mapping from AnimationTargetId (e.g. bone in a skinned mesh) to the animation curves.
AnimationEntityMut
A type alias for EntityMutExcept as used in animation.

Derive Macros§

AnimationEvent
Implements the AnimationEvent trait for a type - see the trait docs for an example usage.