Skip to main content

ISimpleAnimationPlayable_StateManagementMethods

Trait ISimpleAnimationPlayable_StateManagementMethods 

Source
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§

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn get_item(self, i: impl Into<i32>) -> SimpleAnimationPlayable_StateInfo

get_Item(i32) overload

Source

fn ctor(self)

.ctor() overload

Source

fn insert_state(self) -> SimpleAnimationPlayable_StateInfo

InsertState() overload

Source

fn any_state_playing(self) -> bool

AnyStatePlaying() overload

Source

fn remove_state(self, index: impl Into<i32>)

RemoveState(i32) overload

Source

fn remove_clip(self, clip: impl Into<AnimationClip>) -> bool

RemoveClip(crate::unity_engine::animationclip::AnimationClip) overload

Source

fn find_state( self, name: impl Into<Il2CppString>, ) -> SimpleAnimationPlayable_StateInfo

FindState(::unity::Il2CppString) overload

Source

fn enable_state(self, index: impl Into<i32>)

EnableState(i32) overload

Source

fn disable_state(self, index: impl Into<i32>)

DisableState(i32) overload

Source

fn set_input_weight(self, index: impl Into<i32>, weight: impl Into<f32>)

SetInputWeight(i32, f32) overload

Source

fn set_state_time(self, index: impl Into<i32>, time: impl Into<f32>)

SetStateTime(i32, f32) overload

Source

fn get_state_time(self, index: impl Into<i32>) -> f32

GetStateTime(i32) overload

Source

fn is_clone_of( self, potential_clone_index: impl Into<i32>, original_index: impl Into<i32>, ) -> bool

IsCloneOf(i32, i32) overload

Source

fn get_state_speed(self, index: impl Into<i32>) -> f32

GetStateSpeed(i32) overload

Source

fn set_state_speed(self, index: impl Into<i32>, value: impl Into<f32>)

SetStateSpeed(i32, f32) overload

Source

fn get_input_weight(self, index: impl Into<i32>) -> f32

GetInputWeight(i32) overload

Source

fn get_state_length(self, index: impl Into<i32>) -> f32

GetStateLength(i32) overload

Source

fn get_clip_length(self, index: impl Into<i32>) -> f32

GetClipLength(i32) overload

Source

fn get_state_playable_duration(self, index: impl Into<i32>) -> f32

GetStatePlayableDuration(i32) overload

Source

fn get_state_clip(self, index: impl Into<i32>) -> AnimationClip

GetStateClip(i32) overload

Source

fn get_state_wrap_mode(self, index: impl Into<i32>) -> WrapMode

GetStateWrapMode(i32) overload

Source

fn get_state_name(self, index: impl Into<i32>) -> Il2CppString

GetStateName(i32) overload

Source

fn set_state_name(self, index: impl Into<i32>, name: impl Into<Il2CppString>)

SetStateName(i32, ::unity::Il2CppString) overload

Source

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§

Source§

impl<__T: ISimpleAnimationPlayable_StateManagement> ISimpleAnimationPlayable_StateManagementMethods for __T

Available on crate feature root-simpleanimationplayable only.