pub trait Animation {
    type Skeleton: Skeleton;
    type Dependency<'a>;

    // Required method
    fn update_skeleton_inner(
        _skeleton: &Self::Skeleton,
        _dependency: Self::Dependency<'_>,
        _anim_time: f32,
        _rate: &mut f32,
        _skeleton_attr: &<<Self as Animation>::Skeleton as Skeleton>::Attr
    ) -> Self::Skeleton;

    // Provided method
    fn update_skeleton(
        skeleton: &Self::Skeleton,
        dependency: Self::Dependency<'_>,
        anim_time: f32,
        rate: &mut f32,
        skeleton_attr: &<<Self as Animation>::Skeleton as Skeleton>::Attr
    ) -> Self::Skeleton { ... }
}

Required Associated Types§

Required Methods§

source

fn update_skeleton_inner( _skeleton: &Self::Skeleton, _dependency: Self::Dependency<'_>, _anim_time: f32, _rate: &mut f32, _skeleton_attr: &<<Self as Animation>::Skeleton as Skeleton>::Attr ) -> Self::Skeleton

Returns a new skeleton that is generated by the animation.

Provided Methods§

source

fn update_skeleton( skeleton: &Self::Skeleton, dependency: Self::Dependency<'_>, anim_time: f32, rate: &mut f32, skeleton_attr: &<<Self as Animation>::Skeleton as Skeleton>::Attr ) -> Self::Skeleton

Calls update_skeleton_inner either directly or via libloading to generate the new skeleton.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Animation for veloren_voxygen_anim::arthropod::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::leapmelee::LeapMeleeAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::leapshockwave::LeapShockAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::shoot::ShootAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::arthropod::summon::SummonAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::alpha::AlphaAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::beam::BeamAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::beta::BetaAnimation

source§

impl Animation for BlinkAnimation

source§

impl Animation for ChargeAnimation

source§

impl Animation for ChargeMeleeAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::equip::EquipAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::leapmelee::LeapAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::leapshockwave::LeapShockAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::rapidmelee::RapidMeleeAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::selfbuff::SelfBuffAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::shoot::ShootAnimation

source§

impl Animation for SpinAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::spritesummon::SpriteSummonAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::summon::SummonAnimation

source§

impl Animation for veloren_voxygen_anim::biped_large::wield::WieldAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::alpha::AlphaAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::beam::BeamAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::block::BlockAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::leapmelee::LeapAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::rapidmelee::RapidMeleeAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::ripostemelee::RiposteMeleeAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::shoot::ShootAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::spritesummon::SpriteSummonAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::summon::SummonAnimation

source§

impl Animation for veloren_voxygen_anim::biped_small::wield::WieldAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::alpha::AlphaAnimation

source§

impl Animation for AuraAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::breathe::BreatheAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::feed::FeedAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::fly::FlyAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::selfbuff::SelfBuffAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::shoot::ShootAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::summon::SummonAnimation

source§

impl Animation for veloren_voxygen_anim::bird_large::swim::SwimAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::alpha::AlphaAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::breathe::BreatheAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::feed::FeedAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::fly::FlyAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::shoot::ShootAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::summon::SummonAnimation

source§

impl Animation for veloren_voxygen_anim::bird_medium::swim::SwimAnimation

source§

impl Animation for veloren_voxygen_anim::character::alpha::AlphaAnimation

source§

impl Animation for veloren_voxygen_anim::character::beam::BeamAnimation

source§

impl Animation for veloren_voxygen_anim::character::beta::BetaAnimation

source§

impl Animation for veloren_voxygen_anim::character::block::BlockAnimation

source§

impl Animation for BoostAnimation

source§

impl Animation for ChargeswingAnimation

source§

impl Animation for ClimbAnimation

source§

impl Animation for CollectAnimation

source§

impl Animation for veloren_voxygen_anim::character::combomelee::ComboAnimation

source§

impl Animation for ConsumeAnimation

source§

impl Animation for DanceAnimation

source§

impl Animation for veloren_voxygen_anim::character::dash::DashAnimation

source§

impl Animation for DiveMeleeAnimation

source§

impl Animation for veloren_voxygen_anim::character::equip::EquipAnimation

source§

impl Animation for FinisherMeleeAnimation

source§

impl Animation for GlideWieldAnimation

source§

impl Animation for GlidingAnimation

source§

impl Animation for veloren_voxygen_anim::character::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::character::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::character::leapmelee::LeapAnimation

source§

impl Animation for MountAnimation

source§

impl Animation for MusicAnimation

source§

impl Animation for PetAnimation

source§

impl Animation for veloren_voxygen_anim::character::rapidmelee::RapidMeleeAnimation

source§

impl Animation for RepeaterAnimation

source§

impl Animation for veloren_voxygen_anim::character::ripostemelee::RiposteMeleeAnimation

source§

impl Animation for RollAnimation

source§

impl Animation for veloren_voxygen_anim::character::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::character::selfbuff::SelfBuffAnimation

source§

impl Animation for veloren_voxygen_anim::character::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::character::shoot::ShootAnimation

source§

impl Animation for SitAnimation

source§

impl Animation for SleepAnimation

source§

impl Animation for SneakAnimation

source§

impl Animation for SneakEquipAnimation

source§

impl Animation for SneakWieldAnimation

source§

impl Animation for StaggeredAnimation

source§

impl Animation for StandAnimation

source§

impl Animation for SteerAnimation

source§

impl Animation for veloren_voxygen_anim::character::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::character::swim::SwimAnimation

source§

impl Animation for SwimWieldAnimation

source§

impl Animation for TalkAnimation

source§

impl Animation for WallrunAnimation

source§

impl Animation for veloren_voxygen_anim::character::wield::WieldAnimation

source§

impl Animation for veloren_voxygen_anim::crustacean::alpha::AlphaAnimation

source§

impl Animation for veloren_voxygen_anim::crustacean::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::crustacean::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::crustacean::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::crustacean::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::crustacean::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::crustacean::swim::SwimAnimation

source§

impl Animation for veloren_voxygen_anim::dragon::fly::FlyAnimation

source§

impl Animation for veloren_voxygen_anim::dragon::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::dragon::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::fish_medium::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::fish_medium::swim::SwimAnimation

source§

impl Animation for veloren_voxygen_anim::fish_small::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::fish_small::swim::SwimAnimation

source§

impl Animation for veloren_voxygen_anim::golem::alpha::AlphaAnimation

source§

impl Animation for veloren_voxygen_anim::golem::beam::BeamAnimation

source§

impl Animation for veloren_voxygen_anim::golem::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::golem::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::golem::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::golem::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::golem::shoot::ShootAnimation

source§

impl Animation for veloren_voxygen_anim::item_drop::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::object::beam::BeamAnimation

source§

impl Animation for veloren_voxygen_anim::object::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::object::shoot::ShootAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::beta::BetaAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::breathe::BreatheAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::leapshockwave::LeapShockAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::shoot::ShootAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::spritesummon::SpriteSummonAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_low::stunned::StunnedAnimation

source§

impl Animation for TailwhipAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::feed::FeedAnimation

source§

impl Animation for HoofAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::leapmelee::LeapMeleeAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_medium::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::alpha::AlphaAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::feed::FeedAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::run::RunAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::shockwave::ShockwaveAnimation

source§

impl Animation for veloren_voxygen_anim::quadruped_small::stunned::StunnedAnimation

source§

impl Animation for veloren_voxygen_anim::ship::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::theropod::combomelee::ComboAnimation

source§

impl Animation for veloren_voxygen_anim::theropod::dash::DashAnimation

source§

impl Animation for veloren_voxygen_anim::theropod::idle::IdleAnimation

source§

impl Animation for veloren_voxygen_anim::theropod::jump::JumpAnimation

source§

impl Animation for veloren_voxygen_anim::theropod::run::RunAnimation