Skip to content

Commit

Permalink
added missing type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
mrDIMAS committed Jan 27, 2024
1 parent 936fc50 commit 70d0201
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/scene/animation/absm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,21 @@ pub type XorNode = crate::generic_animation::machine::transition::XorNode<Handle
pub type OrNode = crate::generic_animation::machine::transition::OrNode<Handle<Node>>;
/// Scene specific animation blending state machine Not logic node.
pub type NotNode = crate::generic_animation::machine::transition::NotNode<Handle<Node>>;
/// Scene specific animation blending state machine layer animation events collection.
pub type LayerAnimationEventsCollection =
crate::generic_animation::machine::layer::LayerAnimationEventsCollection<Handle<Node>>;
/// Scene specific animation blending state machine animation events source.
pub type AnimationEventsSource =
crate::generic_animation::machine::layer::AnimationEventsSource<Handle<Node>>;

/// Standard prelude for animation blending state machine, that contains all most commonly used types and traits.
pub mod prelude {
pub use super::{
AndNode, AnimationBlendingStateMachine, AnimationBlendingStateMachineBuilder, BasePoseNode,
BlendAnimations, BlendAnimationsByIndex, BlendPose, BlendSpace, BlendSpacePoint, Event,
IndexedBlendInput, LayerMask, LogicNode, Machine, MachineLayer, NotNode, OrNode,
PlayAnimation, PoseNode, RootMotionSettings, State, StateAction, StateActionWrapper,
Transition, XorNode,
AndNode, AnimationBlendingStateMachine, AnimationBlendingStateMachineBuilder,
AnimationEventsSource, BasePoseNode, BlendAnimations, BlendAnimationsByIndex, BlendPose,
BlendSpace, BlendSpacePoint, Event, IndexedBlendInput, LayerAnimationEventsCollection,
LayerMask, LogicNode, Machine, MachineLayer, NotNode, OrNode, PlayAnimation, PoseNode,
RootMotionSettings, State, StateAction, StateActionWrapper, Transition, XorNode,
};
pub use crate::generic_animation::machine::{
node::AnimationEventCollectionStrategy,
Expand Down

0 comments on commit 70d0201

Please sign in to comment.