Skip to main content

ISimpleAnimation_StateImplMethods

Trait ISimpleAnimation_StateImplMethods 

Source
pub trait ISimpleAnimation_StateImplMethods: ISimpleAnimation_StateImpl {
Show 18 methods // Provided methods fn ctor( self, handle: impl Into<SimpleAnimationPlayable_IState>, component: impl Into<SimpleAnimation>, ) { ... } fn simple_animation_state_get_enabled(self) -> bool { ... } fn simple_animation_state_set_enabled(self, value: impl Into<bool>) { ... } fn simple_animation_state_get_is_valid(self) -> bool { ... } fn simple_animation_state_get_time(self) -> f32 { ... } fn simple_animation_state_set_time(self, value: impl Into<f32>) { ... } fn simple_animation_state_get_normalized_time(self) -> f32 { ... } fn simple_animation_state_set_normalized_time(self, value: impl Into<f32>) { ... } fn simple_animation_state_get_speed(self) -> f32 { ... } fn simple_animation_state_set_speed(self, value: impl Into<f32>) { ... } fn simple_animation_state_get_name(self) -> Il2CppString { ... } fn simple_animation_state_set_name(self, value: impl Into<Il2CppString>) { ... } fn simple_animation_state_get_weight(self) -> f32 { ... } fn simple_animation_state_set_weight(self, value: impl Into<f32>) { ... } fn simple_animation_state_get_length(self) -> f32 { ... } fn simple_animation_state_get_clip(self) -> AnimationClip { ... } fn simple_animation_state_get_wrap_mode(self) -> WrapMode { ... } fn simple_animation_state_set_wrap_mode(self, value: impl Into<WrapMode>) { ... }
}

Provided Methods§

Source

fn ctor( self, handle: impl Into<SimpleAnimationPlayable_IState>, component: impl Into<SimpleAnimation>, )

.ctor(crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState, crate::root::simpleanimation::SimpleAnimation) overload

Source

fn simple_animation_state_get_enabled(self) -> bool

SimpleAnimation.State.get_enabled() overload

Source

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

SimpleAnimation.State.set_enabled(bool) overload

Source

fn simple_animation_state_get_is_valid(self) -> bool

SimpleAnimation.State.get_isValid() overload

Source

fn simple_animation_state_get_time(self) -> f32

SimpleAnimation.State.get_time() overload

Source

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

SimpleAnimation.State.set_time(f32) overload

Source

fn simple_animation_state_get_normalized_time(self) -> f32

SimpleAnimation.State.get_normalizedTime() overload

Source

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

SimpleAnimation.State.set_normalizedTime(f32) overload

Source

fn simple_animation_state_get_speed(self) -> f32

SimpleAnimation.State.get_speed() overload

Source

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

SimpleAnimation.State.set_speed(f32) overload

Source

fn simple_animation_state_get_name(self) -> Il2CppString

SimpleAnimation.State.get_name() overload

Source

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

SimpleAnimation.State.set_name(::unity::Il2CppString) overload

Source

fn simple_animation_state_get_weight(self) -> f32

SimpleAnimation.State.get_weight() overload

Source

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

SimpleAnimation.State.set_weight(f32) overload

Source

fn simple_animation_state_get_length(self) -> f32

SimpleAnimation.State.get_length() overload

Source

fn simple_animation_state_get_clip(self) -> AnimationClip

SimpleAnimation.State.get_clip() overload

Source

fn simple_animation_state_get_wrap_mode(self) -> WrapMode

SimpleAnimation.State.get_wrapMode() overload

Source

fn simple_animation_state_set_wrap_mode(self, value: impl Into<WrapMode>)

SimpleAnimation.State.set_wrapMode(crate::unity_engine::wrapmode::WrapMode) 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: ISimpleAnimation_StateImpl> ISimpleAnimation_StateImplMethods for __T

Available on crate feature root-simpleanimation only.