Skip to main content

IAnimationStateMethods

Trait IAnimationStateMethods 

Source
pub trait IAnimationStateMethods: IAnimationState {
    // Provided methods
    fn set_normalized_time(self, value: impl Into<f32>) { ... }
    fn set_layer(self, value: impl Into<i32>) { ... }
    fn get_clip(self) -> AnimationClip { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

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

set_normalizedTime(f32) overload

Source

fn set_layer(self, value: impl Into<i32>)

set_layer(i32) overload

Source

fn get_clip(self) -> AnimationClip

get_clip() 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: IAnimationState> IAnimationStateMethods for __T

Available on crate feature unity_engine-animationstate only.