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§
Sourcefn ctor(
self,
handle: impl Into<SimpleAnimationPlayable_IState>,
component: impl Into<SimpleAnimation>,
)
fn ctor( self, handle: impl Into<SimpleAnimationPlayable_IState>, component: impl Into<SimpleAnimation>, )
.ctor(crate::root::simpleanimationplayable::SimpleAnimationPlayable_IState, crate::root::simpleanimation::SimpleAnimation) overload
Sourcefn simple_animation_state_get_enabled(self) -> bool
fn simple_animation_state_get_enabled(self) -> bool
SimpleAnimation.State.get_enabled() overload
Sourcefn simple_animation_state_set_enabled(self, value: impl Into<bool>)
fn simple_animation_state_set_enabled(self, value: impl Into<bool>)
SimpleAnimation.State.set_enabled(bool) overload
Sourcefn simple_animation_state_get_is_valid(self) -> bool
fn simple_animation_state_get_is_valid(self) -> bool
SimpleAnimation.State.get_isValid() overload
Sourcefn simple_animation_state_get_time(self) -> f32
fn simple_animation_state_get_time(self) -> f32
SimpleAnimation.State.get_time() overload
Sourcefn simple_animation_state_set_time(self, value: impl Into<f32>)
fn simple_animation_state_set_time(self, value: impl Into<f32>)
SimpleAnimation.State.set_time(f32) overload
Sourcefn simple_animation_state_get_normalized_time(self) -> f32
fn simple_animation_state_get_normalized_time(self) -> f32
SimpleAnimation.State.get_normalizedTime() overload
Sourcefn simple_animation_state_set_normalized_time(self, value: impl Into<f32>)
fn simple_animation_state_set_normalized_time(self, value: impl Into<f32>)
SimpleAnimation.State.set_normalizedTime(f32) overload
Sourcefn simple_animation_state_get_speed(self) -> f32
fn simple_animation_state_get_speed(self) -> f32
SimpleAnimation.State.get_speed() overload
Sourcefn simple_animation_state_set_speed(self, value: impl Into<f32>)
fn simple_animation_state_set_speed(self, value: impl Into<f32>)
SimpleAnimation.State.set_speed(f32) overload
Sourcefn simple_animation_state_get_name(self) -> Il2CppString
fn simple_animation_state_get_name(self) -> Il2CppString
SimpleAnimation.State.get_name() overload
Sourcefn simple_animation_state_set_name(self, value: impl Into<Il2CppString>)
fn simple_animation_state_set_name(self, value: impl Into<Il2CppString>)
SimpleAnimation.State.set_name(::unity::Il2CppString) overload
Sourcefn simple_animation_state_get_weight(self) -> f32
fn simple_animation_state_get_weight(self) -> f32
SimpleAnimation.State.get_weight() overload
Sourcefn simple_animation_state_set_weight(self, value: impl Into<f32>)
fn simple_animation_state_set_weight(self, value: impl Into<f32>)
SimpleAnimation.State.set_weight(f32) overload
Sourcefn simple_animation_state_get_length(self) -> f32
fn simple_animation_state_get_length(self) -> f32
SimpleAnimation.State.get_length() overload
Sourcefn simple_animation_state_get_clip(self) -> AnimationClip
fn simple_animation_state_get_clip(self) -> AnimationClip
SimpleAnimation.State.get_clip() overload
Sourcefn simple_animation_state_get_wrap_mode(self) -> WrapMode
fn simple_animation_state_get_wrap_mode(self) -> WrapMode
SimpleAnimation.State.get_wrapMode() overload
Sourcefn simple_animation_state_set_wrap_mode(self, value: impl Into<WrapMode>)
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§
impl<__T: ISimpleAnimation_StateImpl> ISimpleAnimation_StateImplMethods for __T
root-simpleanimation only.