Skip to main content

IAnimationTrackMethods

Trait IAnimationTrackMethods 

Source
pub trait IAnimationTrackMethods: IAnimationTrack {
Show 78 methods // Provided methods fn get_position(self) -> Vector3 { ... } fn set_position(self, value: impl Into<Vector3>) { ... } fn get_rotation(self) -> Quaternion { ... } fn set_rotation(self, value: impl Into<Quaternion>) { ... } fn get_euler_angles(self) -> Vector3 { ... } fn set_euler_angles(self, value: impl Into<Vector3>) { ... } fn get_apply_offsets(self) -> bool { ... } fn set_apply_offsets(self, value: impl Into<bool>) { ... } fn get_track_offset(self) -> TrackOffset { ... } fn set_track_offset(self, value: impl Into<TrackOffset>) { ... } fn get_match_target_fields(self) -> MatchTargetFields { ... } fn set_match_target_fields(self, value: impl Into<MatchTargetFields>) { ... } fn get_infinite_clip(self) -> AnimationClip { ... } fn set_infinite_clip(self, value: impl Into<AnimationClip>) { ... } fn get_infinite_clip_remove_offset(self) -> bool { ... } fn set_infinite_clip_remove_offset(self, value: impl Into<bool>) { ... } fn get_avatar_mask(self) -> AvatarMask { ... } fn set_avatar_mask(self, value: impl Into<AvatarMask>) { ... } fn get_apply_avatar_mask(self) -> bool { ... } fn set_apply_avatar_mask(self, value: impl Into<bool>) { ... } fn can_compile_clips(self) -> bool { ... } fn get_outputs(self) -> IEnumerable_1<PlayableBinding> { ... } fn get_in_clip_mode(self) -> bool { ... } fn get_infinite_clip_offset_position(self) -> Vector3 { ... } fn set_infinite_clip_offset_position(self, value: impl Into<Vector3>) { ... } fn get_infinite_clip_offset_rotation(self) -> Quaternion { ... } fn set_infinite_clip_offset_rotation(self, value: impl Into<Quaternion>) { ... } fn get_infinite_clip_offset_euler_angles(self) -> Vector3 { ... } fn set_infinite_clip_offset_euler_angles(self, value: impl Into<Vector3>) { ... } fn get_infinite_clip_apply_foot_ik(self) -> bool { ... } fn set_infinite_clip_apply_foot_ik(self, value: impl Into<bool>) { ... } fn get_infinite_clip_time_offset(self) -> f64 { ... } fn set_infinite_clip_time_offset(self, value: impl Into<f64>) { ... } fn get_infinite_clip_pre_extrapolation( self, ) -> TimelineClip_ClipExtrapolation { ... } fn set_infinite_clip_pre_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, ) { ... } fn get_infinite_clip_post_extrapolation( self, ) -> TimelineClip_ClipExtrapolation { ... } fn set_infinite_clip_post_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, ) { ... } fn get_infinite_clip_loop(self) -> AnimationPlayableAsset_LoopMode { ... } fn set_infinite_clip_loop( self, value: impl Into<AnimationPlayableAsset_LoopMode>, ) { ... } fn reset_offsets(self) { ... } fn create_clip(self, clip: impl Into<AnimationClip>) -> TimelineClip { ... } fn create_infinite_clip(self, infinite_clip_name: impl Into<Il2CppString>) { ... } fn create_recordable_clip( self, anim_clip_name: impl Into<Il2CppString>, ) -> TimelineClip { ... } fn on_create_clip(self, clip: impl Into<TimelineClip>) { ... } fn calculate_items_hash(self) -> i32 { ... } fn update_clip_offsets(self) { ... } fn compile_track_playable( self, graph: impl Into<PlayableGraph>, track: impl Into<AnimationTrack>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, mode: impl Into<AppliedOffsetMode>, ) -> Playable { ... } fn unity_engine_timeline_i_layerable_create_layer_mixer( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, input_count: impl Into<i32>, ) -> Playable { ... } fn on_create_clip_playable_graph( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, ) -> Playable { ... } fn get_default_blend_count(self) -> i32 { ... } fn attach_default_blend( self, graph: impl Into<PlayableGraph>, mixer: impl Into<AnimationLayerMixerPlayable>, require_offset: impl Into<bool>, ) { ... } fn attach_offset_playable( self, graph: impl Into<PlayableGraph>, playable: impl Into<Playable>, pos: impl Into<Vector3>, rot: impl Into<Quaternion>, ) -> Playable { ... } fn requires_motion_x_playable( self, mode: impl Into<AppliedOffsetMode>, game_object: impl Into<GameObject>, ) -> bool { ... } fn has_controller(self, game_object: impl Into<GameObject>) -> bool { ... } fn get_binding(self, director: impl Into<PlayableDirector>) -> Animator { ... } fn create_infinite_track_playable( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, mode: impl Into<AppliedOffsetMode>, ) -> Playable { ... } fn apply_track_offset( self, graph: impl Into<PlayableGraph>, root: impl Into<Playable>, go: impl Into<GameObject>, mode: impl Into<AppliedOffsetMode>, ) -> Playable { ... } fn get_evaluation_time(self) -> (f64, f64) { ... } fn get_sequence_time(self) -> (f64, f64) { ... } fn assign_animation_clip( self, clip: impl Into<TimelineClip>, anim_clip: impl Into<AnimationClip>, ) { ... } fn gather_properties( self, director: impl Into<PlayableDirector>, driver: impl Into<IPropertyCollector>, ) { ... } fn get_animation_clips(self, anim_clips: impl Into<List_1<AnimationClip>>) { ... } fn get_offset_mode( self, go: impl Into<GameObject>, animates_root_transform: impl Into<bool>, ) -> AppliedOffsetMode { ... } fn is_root_transform_disabled_by_mask( self, game_object: impl Into<GameObject>, generic_root_node: impl Into<Transform>, ) -> bool { ... } fn get_generic_root_node( self, game_object: impl Into<GameObject>, ) -> Transform { ... } fn animates_root_transform(self) -> bool { ... } fn get_open_clip_offset_position(self) -> Vector3 { ... } fn set_open_clip_offset_position(self, value: impl Into<Vector3>) { ... } fn get_open_clip_offset_rotation(self) -> Quaternion { ... } fn set_open_clip_offset_rotation(self, value: impl Into<Quaternion>) { ... } fn get_open_clip_offset_euler_angles(self) -> Vector3 { ... } fn set_open_clip_offset_euler_angles(self, value: impl Into<Vector3>) { ... } fn get_open_clip_pre_extrapolation(self) -> TimelineClip_ClipExtrapolation { ... } fn set_open_clip_pre_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, ) { ... } fn get_open_clip_post_extrapolation(self) -> TimelineClip_ClipExtrapolation { ... } fn set_open_clip_post_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, ) { ... } fn on_upgrade_from_version(self, old_version: impl Into<i32>) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_position(self) -> Vector3

get_position() overload

Source

fn set_position(self, value: impl Into<Vector3>)

set_position(crate::unity_engine::vector3::Vector3) overload

Source

fn get_rotation(self) -> Quaternion

get_rotation() overload

Source

fn set_rotation(self, value: impl Into<Quaternion>)

set_rotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn get_euler_angles(self) -> Vector3

get_eulerAngles() overload

Source

fn set_euler_angles(self, value: impl Into<Vector3>)

set_eulerAngles(crate::unity_engine::vector3::Vector3) overload

Source

fn get_apply_offsets(self) -> bool

get_applyOffsets() overload

Source

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

set_applyOffsets(bool) overload

Source

fn get_track_offset(self) -> TrackOffset

get_trackOffset() overload

Source

fn set_track_offset(self, value: impl Into<TrackOffset>)

set_trackOffset(crate::unity_engine::timeline::trackoffset::TrackOffset) overload

Source

fn get_match_target_fields(self) -> MatchTargetFields

get_matchTargetFields() overload

Source

fn set_match_target_fields(self, value: impl Into<MatchTargetFields>)

set_matchTargetFields(crate::unity_engine::timeline::matchtargetfields::MatchTargetFields) overload

Source

fn get_infinite_clip(self) -> AnimationClip

get_infiniteClip() overload

Source

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

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

Source

fn get_infinite_clip_remove_offset(self) -> bool

get_infiniteClipRemoveOffset() overload

Source

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

set_infiniteClipRemoveOffset(bool) overload

Source

fn get_avatar_mask(self) -> AvatarMask

get_avatarMask() overload

Source

fn set_avatar_mask(self, value: impl Into<AvatarMask>)

set_avatarMask(crate::unity_engine::avatarmask::AvatarMask) overload

Source

fn get_apply_avatar_mask(self) -> bool

get_applyAvatarMask() overload

Source

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

set_applyAvatarMask(bool) overload

Source

fn can_compile_clips(self) -> bool

CanCompileClips() overload

Source

fn get_outputs(self) -> IEnumerable_1<PlayableBinding>

get_outputs() overload

Source

fn get_in_clip_mode(self) -> bool

get_inClipMode() overload

Source

fn get_infinite_clip_offset_position(self) -> Vector3

get_infiniteClipOffsetPosition() overload

Source

fn set_infinite_clip_offset_position(self, value: impl Into<Vector3>)

set_infiniteClipOffsetPosition(crate::unity_engine::vector3::Vector3) overload

Source

fn get_infinite_clip_offset_rotation(self) -> Quaternion

get_infiniteClipOffsetRotation() overload

Source

fn set_infinite_clip_offset_rotation(self, value: impl Into<Quaternion>)

set_infiniteClipOffsetRotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn get_infinite_clip_offset_euler_angles(self) -> Vector3

get_infiniteClipOffsetEulerAngles() overload

Source

fn set_infinite_clip_offset_euler_angles(self, value: impl Into<Vector3>)

set_infiniteClipOffsetEulerAngles(crate::unity_engine::vector3::Vector3) overload

Source

fn get_infinite_clip_apply_foot_ik(self) -> bool

get_infiniteClipApplyFootIK() overload

Source

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

set_infiniteClipApplyFootIK(bool) overload

Source

fn get_infinite_clip_time_offset(self) -> f64

get_infiniteClipTimeOffset() overload

Source

fn set_infinite_clip_time_offset(self, value: impl Into<f64>)

set_infiniteClipTimeOffset(f64) overload

Source

fn get_infinite_clip_pre_extrapolation(self) -> TimelineClip_ClipExtrapolation

get_infiniteClipPreExtrapolation() overload

Source

fn set_infinite_clip_pre_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, )

set_infiniteClipPreExtrapolation(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation) overload

Source

fn get_infinite_clip_post_extrapolation(self) -> TimelineClip_ClipExtrapolation

get_infiniteClipPostExtrapolation() overload

Source

fn set_infinite_clip_post_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, )

set_infiniteClipPostExtrapolation(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation) overload

Source

fn get_infinite_clip_loop(self) -> AnimationPlayableAsset_LoopMode

get_infiniteClipLoop() overload

Source

fn set_infinite_clip_loop( self, value: impl Into<AnimationPlayableAsset_LoopMode>, )

set_infiniteClipLoop(crate::unity_engine::timeline::animationplayableasset::AnimationPlayableAsset_LoopMode) overload

Source

fn reset_offsets(self)

ResetOffsets() overload

Source

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

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

Source

fn create_infinite_clip(self, infinite_clip_name: impl Into<Il2CppString>)

CreateInfiniteClip(::unity::Il2CppString) overload

Source

fn create_recordable_clip( self, anim_clip_name: impl Into<Il2CppString>, ) -> TimelineClip

CreateRecordableClip(::unity::Il2CppString) overload

Source

fn on_create_clip(self, clip: impl Into<TimelineClip>)

OnCreateClip(crate::unity_engine::timeline::timelineclip::TimelineClip) overload

Source

fn calculate_items_hash(self) -> i32

CalculateItemsHash() overload

Source

fn update_clip_offsets(self)

UpdateClipOffsets() overload

Source

fn compile_track_playable( self, graph: impl Into<PlayableGraph>, track: impl Into<AnimationTrack>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, mode: impl Into<AppliedOffsetMode>, ) -> Playable

CompileTrackPlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::timeline::animationtrack::AnimationTrack, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>, crate::unity_engine::timeline::appliedoffsetmode::AppliedOffsetMode) overload

Source

fn unity_engine_timeline_i_layerable_create_layer_mixer( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, input_count: impl Into<i32>, ) -> Playable

UnityEngine.Timeline.ILayerable.CreateLayerMixer(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, i32) overload

Source

fn on_create_clip_playable_graph( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, ) -> Playable

OnCreateClipPlayableGraph(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>) overload

Source

fn get_default_blend_count(self) -> i32

GetDefaultBlendCount() overload

Source

fn attach_default_blend( self, graph: impl Into<PlayableGraph>, mixer: impl Into<AnimationLayerMixerPlayable>, require_offset: impl Into<bool>, )

AttachDefaultBlend(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::animations::animationlayermixerplayable::AnimationLayerMixerPlayable, bool) overload

Source

fn attach_offset_playable( self, graph: impl Into<PlayableGraph>, playable: impl Into<Playable>, pos: impl Into<Vector3>, rot: impl Into<Quaternion>, ) -> Playable

AttachOffsetPlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::playables::playable::Playable, crate::unity_engine::vector3::Vector3, crate::unity_engine::quaternion::Quaternion) overload

Source

fn requires_motion_x_playable( self, mode: impl Into<AppliedOffsetMode>, game_object: impl Into<GameObject>, ) -> bool

RequiresMotionXPlayable(crate::unity_engine::timeline::appliedoffsetmode::AppliedOffsetMode, crate::unity_engine::gameobject::GameObject) overload

Source

fn has_controller(self, game_object: impl Into<GameObject>) -> bool

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

Source

fn get_binding(self, director: impl Into<PlayableDirector>) -> Animator

GetBinding(crate::unity_engine::playables::playabledirector::PlayableDirector) overload

Source

fn create_infinite_track_playable( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, mode: impl Into<AppliedOffsetMode>, ) -> Playable

CreateInfiniteTrackPlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>, crate::unity_engine::timeline::appliedoffsetmode::AppliedOffsetMode) overload

Source

fn apply_track_offset( self, graph: impl Into<PlayableGraph>, root: impl Into<Playable>, go: impl Into<GameObject>, mode: impl Into<AppliedOffsetMode>, ) -> Playable

ApplyTrackOffset(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::playables::playable::Playable, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::appliedoffsetmode::AppliedOffsetMode) overload

Source

fn get_evaluation_time(self) -> (f64, f64)

GetEvaluationTime(*mutf64, *mutf64) overload

Source

fn get_sequence_time(self) -> (f64, f64)

GetSequenceTime(*mutf64, *mutf64) overload

Source

fn assign_animation_clip( self, clip: impl Into<TimelineClip>, anim_clip: impl Into<AnimationClip>, )

AssignAnimationClip(crate::unity_engine::timeline::timelineclip::TimelineClip, crate::unity_engine::animationclip::AnimationClip) overload

Source

fn gather_properties( self, director: impl Into<PlayableDirector>, driver: impl Into<IPropertyCollector>, )

GatherProperties(crate::unity_engine::playables::playabledirector::PlayableDirector, crate::unity_engine::timeline::ipropertycollector::IPropertyCollector) overload

Source

fn get_animation_clips(self, anim_clips: impl Into<List_1<AnimationClip>>)

GetAnimationClips(crate::system::collections::generic::list_1::List_1<crate::unity_engine::animationclip::AnimationClip>) overload

Source

fn get_offset_mode( self, go: impl Into<GameObject>, animates_root_transform: impl Into<bool>, ) -> AppliedOffsetMode

GetOffsetMode(crate::unity_engine::gameobject::GameObject, bool) overload

Source

fn is_root_transform_disabled_by_mask( self, game_object: impl Into<GameObject>, generic_root_node: impl Into<Transform>, ) -> bool

IsRootTransformDisabledByMask(crate::unity_engine::gameobject::GameObject, crate::unity_engine::transform::Transform) overload

Source

fn get_generic_root_node(self, game_object: impl Into<GameObject>) -> Transform

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

Source

fn animates_root_transform(self) -> bool

AnimatesRootTransform() overload

Source

fn get_open_clip_offset_position(self) -> Vector3

get_openClipOffsetPosition() overload

Source

fn set_open_clip_offset_position(self, value: impl Into<Vector3>)

set_openClipOffsetPosition(crate::unity_engine::vector3::Vector3) overload

Source

fn get_open_clip_offset_rotation(self) -> Quaternion

get_openClipOffsetRotation() overload

Source

fn set_open_clip_offset_rotation(self, value: impl Into<Quaternion>)

set_openClipOffsetRotation(crate::unity_engine::quaternion::Quaternion) overload

Source

fn get_open_clip_offset_euler_angles(self) -> Vector3

get_openClipOffsetEulerAngles() overload

Source

fn set_open_clip_offset_euler_angles(self, value: impl Into<Vector3>)

set_openClipOffsetEulerAngles(crate::unity_engine::vector3::Vector3) overload

Source

fn get_open_clip_pre_extrapolation(self) -> TimelineClip_ClipExtrapolation

get_openClipPreExtrapolation() overload

Source

fn set_open_clip_pre_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, )

set_openClipPreExtrapolation(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation) overload

Source

fn get_open_clip_post_extrapolation(self) -> TimelineClip_ClipExtrapolation

get_openClipPostExtrapolation() overload

Source

fn set_open_clip_post_extrapolation( self, value: impl Into<TimelineClip_ClipExtrapolation>, )

set_openClipPostExtrapolation(crate::unity_engine::timeline::timelineclip::TimelineClip_ClipExtrapolation) overload

Source

fn on_upgrade_from_version(self, old_version: impl Into<i32>)

OnUpgradeFromVersion(i32) overload

Source

fn ctor(self)

.ctor() 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: IAnimationTrack> IAnimationTrackMethods for __T

Available on crate feature unity_engine-timeline-animationtrack only.