Skip to main content

ISimpleAnimationPlayable_StateInfoMethods

Trait ISimpleAnimationPlayable_StateInfoMethods 

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

Source

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

Source

fn get_time(self) -> f32

GetTime() overload

Source

fn set_time(self, new_time: impl Into<f32>)

SetTime(f32) overload

Source

fn enable(self)

Enable() overload

Source

fn disable(self)

Disable() overload

Source

fn pause(self)

Pause() overload

Source

fn play(self)

Play() overload

Source

fn stop(self)

Stop() overload

Source

fn force_weight(self, weight: impl Into<f32>)

ForceWeight(f32) overload

Source

fn set_weight(self, weight: impl Into<f32>)

SetWeight(f32) overload

Source

fn fade_to(self, weight: impl Into<f32>, speed: impl Into<f32>)

FadeTo(f32, f32) overload

Source

fn destroy_playable(self)

DestroyPlayable() overload

Source

fn set_as_clone_of(self, handle: impl Into<SimpleAnimationPlayable_StateHandle>)

SetAsCloneOf(crate::root::simpleanimationplayable::SimpleAnimationPlayable_StateHandle) overload

Source

fn get_enabled(self) -> bool

get_enabled() overload

Source

fn get_index(self) -> i32

get_index() overload

Source

fn set_index(self, value: impl Into<i32>)

set_index(i32) overload

Source

fn get_state_name(self) -> Il2CppString

get_stateName() overload

Source

fn set_state_name(self, value: impl Into<Il2CppString>)

set_stateName(::unity::Il2CppString) overload

Source

fn get_fading(self) -> bool

get_fading() overload

Source

fn get_target_weight(self) -> f32

get_targetWeight() overload

Source

fn get_weight(self) -> f32

get_weight() overload

Source

fn get_fade_speed(self) -> f32

get_fadeSpeed() overload

Source

fn get_speed(self) -> f32

get_speed() overload

Source

fn set_speed(self, value: impl Into<f32>)

set_speed(f32) overload

Source

fn get_playable_duration(self) -> f32

get_playableDuration() overload

Source

fn get_clip(self) -> AnimationClip

get_clip() overload

Source

fn set_playable(self, playable: impl Into<Playable>)

SetPlayable(crate::unity_engine::playables::playable::Playable) overload

Source

fn get_is_done(self) -> bool

get_isDone() overload

Source

fn get_playable(self) -> Playable

get_playable() overload

Source

fn get_wrap_mode(self) -> WrapMode

get_wrapMode() overload

Source

fn get_is_clone(self) -> bool

get_isClone() overload

Source

fn get_is_ready_for_cleanup(self) -> bool

get_isReadyForCleanup() overload

Source

fn get_parent_state(self) -> SimpleAnimationPlayable_StateHandle

get_parentState() overload

Source

fn get_enabled_dirty(self) -> bool

get_enabledDirty() overload

Source

fn get_weight_dirty(self) -> bool

get_weightDirty() overload

Source

fn reset_dirty_flags(self)

ResetDirtyFlags() overload

Source

fn invalidate_time(self)

InvalidateTime() overload

Source

fn ctor(self)

.ctor() 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_StateInfo> ISimpleAnimationPlayable_StateInfoMethods for __T

Available on crate feature root-simpleanimationplayable only.