pub trait ISimpleAnimationPlayable_StateHandleMethods: ISimpleAnimationPlayable_StateHandle {
Show 18 methods
// Provided methods
fn ctor(
self,
s: impl Into<SimpleAnimationPlayable>,
index: impl Into<i32>,
target: impl Into<Playable>,
) { ... }
fn is_valid(self) -> bool { ... }
fn get_enabled(self) -> bool { ... }
fn set_enabled(self, value: impl Into<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 get_index(self) -> i32 { ... }
}Provided Methods§
Sourcefn ctor(
self,
s: impl Into<SimpleAnimationPlayable>,
index: impl Into<i32>,
target: impl Into<Playable>,
)
fn ctor( self, s: impl Into<SimpleAnimationPlayable>, index: impl Into<i32>, target: impl Into<Playable>, )
.ctor(crate::root::simpleanimationplayable::SimpleAnimationPlayable, i32, crate::unity_engine::playables::playable::Playable) overload
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_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
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: ISimpleAnimationPlayable_StateHandle> ISimpleAnimationPlayable_StateHandleMethods for __T
Available on crate feature
root-simpleanimationplayable only.