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§
Sourcefn get_enabled(self) -> bool
fn get_enabled(self) -> bool
get_enabled() overload
Sourcefn set_enabled(self, value: impl Into<bool>)
fn set_enabled(self, value: impl Into<bool>)
set_enabled(bool) overload
Sourcefn get_is_valid(self) -> bool
fn get_is_valid(self) -> bool
get_isValid() overload
Sourcefn get_normalized_time(self) -> f32
fn get_normalized_time(self) -> f32
get_normalizedTime() overload
Sourcefn set_normalized_time(self, value: impl Into<f32>)
fn set_normalized_time(self, value: impl Into<f32>)
set_normalizedTime(f32) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_name(::unity::Il2CppString) overload
Sourcefn get_weight(self) -> f32
fn get_weight(self) -> f32
get_weight() overload
Sourcefn set_weight(self, value: impl Into<f32>)
fn set_weight(self, value: impl Into<f32>)
set_weight(f32) overload
Sourcefn get_length(self) -> f32
fn get_length(self) -> f32
get_length() overload
Sourcefn get_clip(self) -> AnimationClip
fn get_clip(self) -> AnimationClip
get_clip() overload
Sourcefn get_wrap_mode(self) -> WrapMode
fn get_wrap_mode(self) -> WrapMode
get_wrapMode() overload
Sourcefn set_wrap_mode(self, value: impl Into<WrapMode>)
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§
impl<__T: ISimpleAnimation_State> ISimpleAnimation_StateMethods for __T
Available on crate feature
root-simpleanimation only.