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§
Sourcefn push_active_game_object(self, game_object: impl Into<GameObject>)
fn push_active_game_object(self, game_object: impl Into<GameObject>)
PushActiveGameObject(crate::unity_engine::gameobject::GameObject) overload
Sourcefn pop_active_game_object(self)
fn pop_active_game_object(self)
PopActiveGameObject() overload
Sourcefn add_from_clip(self, clip: impl Into<AnimationClip>)
fn add_from_clip(self, clip: impl Into<AnimationClip>)
AddFromClip(crate::unity_engine::animationclip::AnimationClip) overload
fn add_from_name<M0: IlType + Copy + ClassIdentity>( self, name: impl Into<Il2CppString>, )
Sourcefn add_object_properties(
self,
obj: impl Into<Object_2>,
clip: impl Into<AnimationClip>,
)
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§
impl<__T: IIPropertyCollector> IIPropertyCollectorMethods for __T
Available on crate feature
unity_engine-timeline-ipropertycollector only.