pub trait ISimpleAnimationPlayable_StateInfoMethods: ISimpleAnimationPlayable_StateInfo {
Show 38 methods
// Provided methods
fn initialize(
self,
name: impl Into<Il2CppString>,
clip: impl Into<AnimationClip>,
wrap_mode: impl Into<WrapMode>,
) { ... }
fn get_time(self) -> f32 { ... }
fn set_time(self, new_time: impl Into<f32>) { ... }
fn enable(self) { ... }
fn disable(self) { ... }
fn pause(self) { ... }
fn play(self) { ... }
fn stop(self) { ... }
fn force_weight(self, weight: impl Into<f32>) { ... }
fn set_weight(self, weight: impl Into<f32>) { ... }
fn fade_to(self, weight: impl Into<f32>, speed: impl Into<f32>) { ... }
fn destroy_playable(self) { ... }
fn set_as_clone_of(
self,
handle: impl Into<SimpleAnimationPlayable_StateHandle>,
) { ... }
fn get_enabled(self) -> bool { ... }
fn get_index(self) -> i32 { ... }
fn set_index(self, value: impl Into<i32>) { ... }
fn get_state_name(self) -> Il2CppString { ... }
fn set_state_name(self, value: impl Into<Il2CppString>) { ... }
fn get_fading(self) -> bool { ... }
fn get_target_weight(self) -> f32 { ... }
fn get_weight(self) -> f32 { ... }
fn get_fade_speed(self) -> f32 { ... }
fn get_speed(self) -> f32 { ... }
fn set_speed(self, value: impl Into<f32>) { ... }
fn get_playable_duration(self) -> f32 { ... }
fn get_clip(self) -> AnimationClip { ... }
fn set_playable(self, playable: impl Into<Playable>) { ... }
fn get_is_done(self) -> bool { ... }
fn get_playable(self) -> Playable { ... }
fn get_wrap_mode(self) -> WrapMode { ... }
fn get_is_clone(self) -> bool { ... }
fn get_is_ready_for_cleanup(self) -> bool { ... }
fn get_parent_state(self) -> SimpleAnimationPlayable_StateHandle { ... }
fn get_enabled_dirty(self) -> bool { ... }
fn get_weight_dirty(self) -> bool { ... }
fn reset_dirty_flags(self) { ... }
fn invalidate_time(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn initialize(
self,
name: impl Into<Il2CppString>,
clip: impl Into<AnimationClip>,
wrap_mode: impl Into<WrapMode>,
)
fn initialize( self, name: impl Into<Il2CppString>, clip: impl Into<AnimationClip>, wrap_mode: impl Into<WrapMode>, )
Initialize(::unity::Il2CppString, crate::unity_engine::animationclip::AnimationClip, crate::unity_engine::wrapmode::WrapMode) overload
Sourcefn force_weight(self, weight: impl Into<f32>)
fn force_weight(self, weight: impl Into<f32>)
ForceWeight(f32) overload
Sourcefn set_weight(self, weight: impl Into<f32>)
fn set_weight(self, weight: impl Into<f32>)
SetWeight(f32) overload
Sourcefn destroy_playable(self)
fn destroy_playable(self)
DestroyPlayable() overload
Sourcefn set_as_clone_of(self, handle: impl Into<SimpleAnimationPlayable_StateHandle>)
fn set_as_clone_of(self, handle: impl Into<SimpleAnimationPlayable_StateHandle>)
SetAsCloneOf(crate::root::simpleanimationplayable::SimpleAnimationPlayable_StateHandle) overload
Sourcefn get_enabled(self) -> bool
fn get_enabled(self) -> bool
get_enabled() overload
Sourcefn get_state_name(self) -> Il2CppString
fn get_state_name(self) -> Il2CppString
get_stateName() overload
Sourcefn set_state_name(self, value: impl Into<Il2CppString>)
fn set_state_name(self, value: impl Into<Il2CppString>)
set_stateName(::unity::Il2CppString) overload
Sourcefn get_fading(self) -> bool
fn get_fading(self) -> bool
get_fading() overload
Sourcefn get_target_weight(self) -> f32
fn get_target_weight(self) -> f32
get_targetWeight() overload
Sourcefn get_weight(self) -> f32
fn get_weight(self) -> f32
get_weight() overload
Sourcefn get_fade_speed(self) -> f32
fn get_fade_speed(self) -> f32
get_fadeSpeed() overload
Sourcefn get_playable_duration(self) -> f32
fn get_playable_duration(self) -> f32
get_playableDuration() overload
Sourcefn get_clip(self) -> AnimationClip
fn get_clip(self) -> AnimationClip
get_clip() overload
Sourcefn set_playable(self, playable: impl Into<Playable>)
fn set_playable(self, playable: impl Into<Playable>)
SetPlayable(crate::unity_engine::playables::playable::Playable) overload
Sourcefn get_is_done(self) -> bool
fn get_is_done(self) -> bool
get_isDone() overload
Sourcefn get_playable(self) -> Playable
fn get_playable(self) -> Playable
get_playable() overload
Sourcefn get_wrap_mode(self) -> WrapMode
fn get_wrap_mode(self) -> WrapMode
get_wrapMode() overload
Sourcefn get_is_clone(self) -> bool
fn get_is_clone(self) -> bool
get_isClone() overload
Sourcefn get_is_ready_for_cleanup(self) -> bool
fn get_is_ready_for_cleanup(self) -> bool
get_isReadyForCleanup() overload
Sourcefn get_parent_state(self) -> SimpleAnimationPlayable_StateHandle
fn get_parent_state(self) -> SimpleAnimationPlayable_StateHandle
get_parentState() overload
Sourcefn get_enabled_dirty(self) -> bool
fn get_enabled_dirty(self) -> bool
get_enabledDirty() overload
Sourcefn get_weight_dirty(self) -> bool
fn get_weight_dirty(self) -> bool
get_weightDirty() overload
Sourcefn reset_dirty_flags(self)
fn reset_dirty_flags(self)
ResetDirtyFlags() overload
Sourcefn invalidate_time(self)
fn invalidate_time(self)
InvalidateTime() 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_StateInfo> ISimpleAnimationPlayable_StateInfoMethods for __T
root-simpleanimationplayable only.