Skip to main content

ISimpleAnimationPlayable_StateHandleMethods

Trait ISimpleAnimationPlayable_StateHandleMethods 

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

Source

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

Source

fn is_valid(self) -> bool

IsValid() overload

Source

fn get_enabled(self) -> bool

get_enabled() overload

Source

fn set_enabled(self, value: impl Into<bool>)

set_enabled(bool) overload

Source

fn get_time(self) -> f32

get_time() overload

Source

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

set_time(f32) overload

Source

fn get_normalized_time(self) -> f32

get_normalizedTime() overload

Source

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

set_normalizedTime(f32) 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_name(self) -> Il2CppString

get_name() overload

Source

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

set_name(::unity::Il2CppString) overload

Source

fn get_weight(self) -> f32

get_weight() overload

Source

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

set_weight(f32) overload

Source

fn get_length(self) -> f32

get_length() overload

Source

fn get_clip(self) -> AnimationClip

get_clip() overload

Source

fn get_wrap_mode(self) -> WrapMode

get_wrapMode() overload

Source

fn get_index(self) -> i32

get_index() 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_StateHandle> ISimpleAnimationPlayable_StateHandleMethods for __T

Available on crate feature root-simpleanimationplayable only.