Skip to main content

IIPropertyCollectorMethods

Trait IIPropertyCollectorMethods 

Source
pub trait IIPropertyCollectorMethods: IIPropertyCollector {
    // Provided methods
    fn push_active_game_object(self, game_object: impl Into<GameObject>) { ... }
    fn pop_active_game_object(self) { ... }
    fn add_from_clip(self, clip: impl Into<AnimationClip>) { ... }
    fn add_from_name<M0: IlType + Copy + ClassIdentity>(
        self,
        name: impl Into<Il2CppString>,
    ) { ... }
    fn add_object_properties(
        self,
        obj: impl Into<Object_2>,
        clip: impl Into<AnimationClip>,
    ) { ... }
}

Provided Methods§

Source

fn push_active_game_object(self, game_object: impl Into<GameObject>)

PushActiveGameObject(crate::unity_engine::gameobject::GameObject) overload

Source

fn pop_active_game_object(self)

PopActiveGameObject() overload

Source

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

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

Source

fn add_from_name<M0: IlType + Copy + ClassIdentity>( self, name: impl Into<Il2CppString>, )

Source

fn add_object_properties( self, obj: impl Into<Object_2>, clip: impl Into<AnimationClip>, )

AddObjectProperties(crate::unity_engine::object_2::Object_2, crate::unity_engine::animationclip::AnimationClip) 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: IIPropertyCollector> IIPropertyCollectorMethods for __T

Available on crate feature unity_engine-timeline-ipropertycollector only.