Skip to main content

ISimpleAnimation_StateMethods

Trait ISimpleAnimation_StateMethods 

Source
pub trait ISimpleAnimation_StateMethods: ISimpleAnimation_State {
Show 17 methods // Provided methods fn get_enabled(self) -> bool { ... } fn set_enabled(self, value: impl Into<bool>) { ... } fn get_is_valid(self) -> bool { ... } fn get_time(self) -> f32 { ... } fn set_time(self, value: impl Into<f32>) { ... } fn get_normalized_time(self) -> f32 { ... } fn set_normalized_time(self, value: impl Into<f32>) { ... } fn get_speed(self) -> f32 { ... } fn set_speed(self, value: impl Into<f32>) { ... } fn get_name(self) -> Il2CppString { ... } fn set_name(self, value: impl Into<Il2CppString>) { ... } fn get_weight(self) -> f32 { ... } fn set_weight(self, value: impl Into<f32>) { ... } fn get_length(self) -> f32 { ... } fn get_clip(self) -> AnimationClip { ... } fn get_wrap_mode(self) -> WrapMode { ... } fn set_wrap_mode(self, value: impl Into<WrapMode>) { ... }
}

Provided Methods§

Source

fn get_enabled(self) -> bool

get_enabled() overload

Source

fn set_enabled(self, value: impl Into<bool>)

set_enabled(bool) overload

Source

fn get_is_valid(self) -> bool

get_isValid() overload

Source

fn get_time(self) -> f32

get_time() overload

Source

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

set_time(f32) overload

Source

fn get_normalized_time(self) -> f32

get_normalizedTime() overload

Source

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

set_normalizedTime(f32) 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_name(self) -> Il2CppString

get_name() overload

Source

fn set_name(self, value: impl Into<Il2CppString>)

set_name(::unity::Il2CppString) overload

Source

fn get_weight(self) -> f32

get_weight() overload

Source

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

set_weight(f32) overload

Source

fn get_length(self) -> f32

get_length() overload

Source

fn get_clip(self) -> AnimationClip

get_clip() overload

Source

fn get_wrap_mode(self) -> WrapMode

get_wrapMode() overload

Source

fn set_wrap_mode(self, value: impl Into<WrapMode>)

set_wrapMode(crate::unity_engine::wrapmode::WrapMode) 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: ISimpleAnimation_State> ISimpleAnimation_StateMethods for __T

Available on crate feature root-simpleanimation only.