Skip to main content

IAnimatorOverrideControllerMethods

Trait IAnimatorOverrideControllerMethods 

Source
pub trait IAnimatorOverrideControllerMethods: IAnimatorOverrideController {
Show 21 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, controller: impl Into<RuntimeAnimatorController>) { ... } fn get_runtime_animator_controller(self) -> RuntimeAnimatorController { ... } fn set_runtime_animator_controller( self, value: impl Into<RuntimeAnimatorController>, ) { ... } fn get_item(self, name: impl Into<Il2CppString>) -> AnimationClip { ... } fn set_item( self, name: impl Into<Il2CppString>, value: impl Into<AnimationClip>, ) { ... } fn internal_get_clip_by_name( self, name: impl Into<Il2CppString>, return_effective_clip: impl Into<bool>, ) -> AnimationClip { ... } fn internal_set_clip_by_name( self, name: impl Into<Il2CppString>, clip: impl Into<AnimationClip>, ) { ... } fn get_item_2(self, clip: impl Into<AnimationClip>) -> AnimationClip { ... } fn set_item_2( self, clip: impl Into<AnimationClip>, value: impl Into<AnimationClip>, ) { ... } fn get_clip( self, original_clip: impl Into<AnimationClip>, return_effective_clip: impl Into<bool>, ) -> AnimationClip { ... } fn set_clip( self, original_clip: impl Into<AnimationClip>, override_clip: impl Into<AnimationClip>, notify: impl Into<bool>, ) { ... } fn send_notification(self) { ... } fn get_original_clip(self, index: impl Into<i32>) -> AnimationClip { ... } fn get_override_clip( self, original_clip: impl Into<AnimationClip>, ) -> AnimationClip { ... } fn get_overrides_count(self) -> i32 { ... } fn get_overrides( self, overrides: impl Into<List_1<KeyValuePair_2<AnimationClip, AnimationClip>>>, ) { ... } fn apply_overrides( self, overrides: impl Into<IList_1_Interface<KeyValuePair_2<AnimationClip, AnimationClip>>>, ) { ... } fn get_clips(self) -> Array<AnimationClipPair> { ... } fn set_clips(self, value: impl Into<Array<AnimationClipPair>>) { ... } fn perform_override_clip_list_cleanup(self) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, controller: impl Into<RuntimeAnimatorController>)

.ctor(crate::unity_engine::runtimeanimatorcontroller::RuntimeAnimatorController) overload

Source

fn get_runtime_animator_controller(self) -> RuntimeAnimatorController

get_runtimeAnimatorController() overload

Source

fn set_runtime_animator_controller( self, value: impl Into<RuntimeAnimatorController>, )

set_runtimeAnimatorController(crate::unity_engine::runtimeanimatorcontroller::RuntimeAnimatorController) overload

Source

fn get_item(self, name: impl Into<Il2CppString>) -> AnimationClip

get_Item(::unity::Il2CppString) overload

Source

fn set_item( self, name: impl Into<Il2CppString>, value: impl Into<AnimationClip>, )

set_Item(::unity::Il2CppString, crate::unity_engine::animationclip::AnimationClip) overload

Source

fn internal_get_clip_by_name( self, name: impl Into<Il2CppString>, return_effective_clip: impl Into<bool>, ) -> AnimationClip

Internal_GetClipByName(::unity::Il2CppString, bool) overload

Source

fn internal_set_clip_by_name( self, name: impl Into<Il2CppString>, clip: impl Into<AnimationClip>, )

Internal_SetClipByName(::unity::Il2CppString, crate::unity_engine::animationclip::AnimationClip) overload

Source

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

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

Source

fn set_item_2( self, clip: impl Into<AnimationClip>, value: impl Into<AnimationClip>, )

set_Item(crate::unity_engine::animationclip::AnimationClip, crate::unity_engine::animationclip::AnimationClip) overload

Source

fn get_clip( self, original_clip: impl Into<AnimationClip>, return_effective_clip: impl Into<bool>, ) -> AnimationClip

GetClip(crate::unity_engine::animationclip::AnimationClip, bool) overload

Source

fn set_clip( self, original_clip: impl Into<AnimationClip>, override_clip: impl Into<AnimationClip>, notify: impl Into<bool>, )

SetClip(crate::unity_engine::animationclip::AnimationClip, crate::unity_engine::animationclip::AnimationClip, bool) overload

Source

fn send_notification(self)

SendNotification() overload

Source

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

GetOriginalClip(i32) overload

Source

fn get_override_clip( self, original_clip: impl Into<AnimationClip>, ) -> AnimationClip

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

Source

fn get_overrides_count(self) -> i32

get_overridesCount() overload

Source

fn get_overrides( self, overrides: impl Into<List_1<KeyValuePair_2<AnimationClip, AnimationClip>>>, )

GetOverrides(crate::system::collections::generic::list_1::List_1<crate::system::collections::generic::keyvaluepair_2::KeyValuePair_2<crate::unity_engine::animationclip::AnimationClip,crate::unity_engine::animationclip::AnimationClip>>) overload

Source

fn apply_overrides( self, overrides: impl Into<IList_1_Interface<KeyValuePair_2<AnimationClip, AnimationClip>>>, )

ApplyOverrides(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::system::collections::generic::keyvaluepair_2::KeyValuePair_2<crate::unity_engine::animationclip::AnimationClip,crate::unity_engine::animationclip::AnimationClip>>) overload

Source

fn get_clips(self) -> Array<AnimationClipPair>

get_clips() overload

Source

fn set_clips(self, value: impl Into<Array<AnimationClipPair>>)

set_clips(::unity::Array<crate::unity_engine::animationclippair::AnimationClipPair>) overload

Source

fn perform_override_clip_list_cleanup(self)

PerformOverrideClipListCleanup() 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: IAnimatorOverrideController> IAnimatorOverrideControllerMethods for __T

Available on crate feature unity_engine-animatoroverridecontroller only.