pub trait ISimpleAnimationPlayable_StateManagementMethods: ISimpleAnimationPlayable_StateManagement {
Show 25 methods
// Provided methods
fn get_count(self) -> i32 { ... }
fn get_item(self, i: impl Into<i32>) -> SimpleAnimationPlayable_StateInfo { ... }
fn ctor(self) { ... }
fn insert_state(self) -> SimpleAnimationPlayable_StateInfo { ... }
fn any_state_playing(self) -> bool { ... }
fn remove_state(self, index: impl Into<i32>) { ... }
fn remove_clip(self, clip: impl Into<AnimationClip>) -> bool { ... }
fn find_state(
self,
name: impl Into<Il2CppString>,
) -> SimpleAnimationPlayable_StateInfo { ... }
fn enable_state(self, index: impl Into<i32>) { ... }
fn disable_state(self, index: impl Into<i32>) { ... }
fn set_input_weight(self, index: impl Into<i32>, weight: impl Into<f32>) { ... }
fn set_state_time(self, index: impl Into<i32>, time: impl Into<f32>) { ... }
fn get_state_time(self, index: impl Into<i32>) -> f32 { ... }
fn is_clone_of(
self,
potential_clone_index: impl Into<i32>,
original_index: impl Into<i32>,
) -> bool { ... }
fn get_state_speed(self, index: impl Into<i32>) -> f32 { ... }
fn set_state_speed(self, index: impl Into<i32>, value: impl Into<f32>) { ... }
fn get_input_weight(self, index: impl Into<i32>) -> f32 { ... }
fn get_state_length(self, index: impl Into<i32>) -> f32 { ... }
fn get_clip_length(self, index: impl Into<i32>) -> f32 { ... }
fn get_state_playable_duration(self, index: impl Into<i32>) -> f32 { ... }
fn get_state_clip(self, index: impl Into<i32>) -> AnimationClip { ... }
fn get_state_wrap_mode(self, index: impl Into<i32>) -> WrapMode { ... }
fn get_state_name(self, index: impl Into<i32>) -> Il2CppString { ... }
fn set_state_name(
self,
index: impl Into<i32>,
name: impl Into<Il2CppString>,
) { ... }
fn stop_state(self, index: impl Into<i32>, cleanup: impl Into<bool>) { ... }
}Provided Methods§
Sourcefn get_item(self, i: impl Into<i32>) -> SimpleAnimationPlayable_StateInfo
fn get_item(self, i: impl Into<i32>) -> SimpleAnimationPlayable_StateInfo
get_Item(i32) overload
Sourcefn insert_state(self) -> SimpleAnimationPlayable_StateInfo
fn insert_state(self) -> SimpleAnimationPlayable_StateInfo
InsertState() overload
Sourcefn any_state_playing(self) -> bool
fn any_state_playing(self) -> bool
AnyStatePlaying() overload
Sourcefn remove_state(self, index: impl Into<i32>)
fn remove_state(self, index: impl Into<i32>)
RemoveState(i32) overload
Sourcefn remove_clip(self, clip: impl Into<AnimationClip>) -> bool
fn remove_clip(self, clip: impl Into<AnimationClip>) -> bool
RemoveClip(crate::unity_engine::animationclip::AnimationClip) overload
Sourcefn find_state(
self,
name: impl Into<Il2CppString>,
) -> SimpleAnimationPlayable_StateInfo
fn find_state( self, name: impl Into<Il2CppString>, ) -> SimpleAnimationPlayable_StateInfo
FindState(::unity::Il2CppString) overload
Sourcefn enable_state(self, index: impl Into<i32>)
fn enable_state(self, index: impl Into<i32>)
EnableState(i32) overload
Sourcefn disable_state(self, index: impl Into<i32>)
fn disable_state(self, index: impl Into<i32>)
DisableState(i32) overload
Sourcefn set_input_weight(self, index: impl Into<i32>, weight: impl Into<f32>)
fn set_input_weight(self, index: impl Into<i32>, weight: impl Into<f32>)
SetInputWeight(i32, f32) overload
Sourcefn set_state_time(self, index: impl Into<i32>, time: impl Into<f32>)
fn set_state_time(self, index: impl Into<i32>, time: impl Into<f32>)
SetStateTime(i32, f32) overload
Sourcefn get_state_time(self, index: impl Into<i32>) -> f32
fn get_state_time(self, index: impl Into<i32>) -> f32
GetStateTime(i32) overload
Sourcefn is_clone_of(
self,
potential_clone_index: impl Into<i32>,
original_index: impl Into<i32>,
) -> bool
fn is_clone_of( self, potential_clone_index: impl Into<i32>, original_index: impl Into<i32>, ) -> bool
IsCloneOf(i32, i32) overload
Sourcefn get_state_speed(self, index: impl Into<i32>) -> f32
fn get_state_speed(self, index: impl Into<i32>) -> f32
GetStateSpeed(i32) overload
Sourcefn set_state_speed(self, index: impl Into<i32>, value: impl Into<f32>)
fn set_state_speed(self, index: impl Into<i32>, value: impl Into<f32>)
SetStateSpeed(i32, f32) overload
Sourcefn get_input_weight(self, index: impl Into<i32>) -> f32
fn get_input_weight(self, index: impl Into<i32>) -> f32
GetInputWeight(i32) overload
Sourcefn get_state_length(self, index: impl Into<i32>) -> f32
fn get_state_length(self, index: impl Into<i32>) -> f32
GetStateLength(i32) overload
Sourcefn get_clip_length(self, index: impl Into<i32>) -> f32
fn get_clip_length(self, index: impl Into<i32>) -> f32
GetClipLength(i32) overload
Sourcefn get_state_playable_duration(self, index: impl Into<i32>) -> f32
fn get_state_playable_duration(self, index: impl Into<i32>) -> f32
GetStatePlayableDuration(i32) overload
Sourcefn get_state_clip(self, index: impl Into<i32>) -> AnimationClip
fn get_state_clip(self, index: impl Into<i32>) -> AnimationClip
GetStateClip(i32) overload
Sourcefn get_state_wrap_mode(self, index: impl Into<i32>) -> WrapMode
fn get_state_wrap_mode(self, index: impl Into<i32>) -> WrapMode
GetStateWrapMode(i32) overload
Sourcefn get_state_name(self, index: impl Into<i32>) -> Il2CppString
fn get_state_name(self, index: impl Into<i32>) -> Il2CppString
GetStateName(i32) overload
Sourcefn set_state_name(self, index: impl Into<i32>, name: impl Into<Il2CppString>)
fn set_state_name(self, index: impl Into<i32>, name: impl Into<Il2CppString>)
SetStateName(i32, ::unity::Il2CppString) overload
Sourcefn stop_state(self, index: impl Into<i32>, cleanup: impl Into<bool>)
fn stop_state(self, index: impl Into<i32>, cleanup: impl Into<bool>)
StopState(i32, bool) 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_StateManagement> ISimpleAnimationPlayable_StateManagementMethods for __T
root-simpleanimationplayable only.