Skip to main content

IHitStopMethods

Trait IHitStopMethods 

Source
pub trait IHitStopMethods: IHitStop {
    // Provided methods
    fn ctor(self, hit_stop_speed_curve: impl Into<AnimationCurve>) { ... }
    fn dispose(self) { ... }
    fn reset(self) { ... }
    fn get_remaining_time(self) -> f32 { ... }
    fn set_remaining_time(self, value: impl Into<f32>) { ... }
    fn get_is_running(self) -> bool { ... }
    fn get_speed(self) -> f32 { ... }
    fn set_speed(self, value: impl Into<f32>) { ... }
    fn get_normalized_time(self) -> f32 { ... }
    fn start(self, time: impl Into<f32>) { ... }
    fn update(self) { ... }
    fn resume(self) { ... }
}

Provided Methods§

Source

fn ctor(self, hit_stop_speed_curve: impl Into<AnimationCurve>)

.ctor(crate::unity_engine::animationcurve::AnimationCurve) overload

Source

fn dispose(self)

Dispose() overload

Source

fn reset(self)

Reset() overload

Source

fn get_remaining_time(self) -> f32

get_RemainingTime() overload

Source

fn set_remaining_time(self, value: impl Into<f32>)

set_RemainingTime(f32) overload

Source

fn get_is_running(self) -> bool

get_IsRunning() overload

Source

fn get_speed(self) -> f32

get_Speed() overload

Source

fn set_speed(self, value: impl Into<f32>)

set_Speed(f32) overload

Source

fn get_normalized_time(self) -> f32

get_NormalizedTime() overload

Source

fn start(self, time: impl Into<f32>)

Start(f32) overload

Source

fn update(self)

Update() overload

Source

fn resume(self)

Resume() 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: IHitStop> IHitStopMethods for __T

Available on crate feature combat-hitstop only.