Skip to main content

ITMP_SpriteAnimatorMethods

Trait ITMP_SpriteAnimatorMethods 

Source
pub trait ITMP_SpriteAnimatorMethods: ITMP_SpriteAnimator {
    // Provided methods
    fn awake(self) { ... }
    fn on_enable(self) { ... }
    fn on_disable(self) { ... }
    fn stop_all_animations(self) { ... }
    fn do_sprite_animation(
        self,
        current_character: impl Into<i32>,
        sprite_asset: impl Into<TMP_SpriteAsset>,
        start: impl Into<i32>,
        end: impl Into<i32>,
        framerate: impl Into<i32>,
    ) { ... }
    fn do_sprite_animation_internal(
        self,
        current_character: impl Into<i32>,
        sprite_asset: impl Into<TMP_SpriteAsset>,
        start: impl Into<i32>,
        end: impl Into<i32>,
        framerate: impl Into<i32>,
    ) -> IEnumerator { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn awake(self)

Awake() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn stop_all_animations(self)

StopAllAnimations() overload

Source

fn do_sprite_animation( self, current_character: impl Into<i32>, sprite_asset: impl Into<TMP_SpriteAsset>, start: impl Into<i32>, end: impl Into<i32>, framerate: impl Into<i32>, )

DoSpriteAnimation(i32, crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset, i32, i32, i32) overload

Source

fn do_sprite_animation_internal( self, current_character: impl Into<i32>, sprite_asset: impl Into<TMP_SpriteAsset>, start: impl Into<i32>, end: impl Into<i32>, framerate: impl Into<i32>, ) -> IEnumerator

DoSpriteAnimationInternal(i32, crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset, i32, i32, i32) overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ITMP_SpriteAnimator> ITMP_SpriteAnimatorMethods for __T

Available on crate feature tm_pro-tmp_spriteanimator only.