Skip to main content

ITrackAssetMethods

Trait ITrackAssetMethods 

Source
pub trait ITrackAssetMethods: ITrackAsset {
Show 95 methods // Provided methods fn on_before_track_serialize(self) { ... } fn on_after_track_deserialize(self) { ... } fn on_upgrade_from_version(self, old_version: impl Into<i32>) { ... } fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self) { ... } fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self) { ... } fn upgrade_to_latest_version(self) { ... } fn get_start(self) -> f64 { ... } fn get_end(self) -> f64 { ... } fn get_duration(self) -> f64 { ... } fn get_muted(self) -> bool { ... } fn set_muted(self, value: impl Into<bool>) { ... } fn get_muted_in_hierarchy(self) -> bool { ... } fn get_timeline_asset(self) -> TimelineAsset { ... } fn get_parent(self) -> PlayableAsset { ... } fn set_parent(self, value: impl Into<PlayableAsset>) { ... } fn get_clips(self) -> IEnumerable_1<TimelineClip> { ... } fn get_is_empty(self) -> bool { ... } fn get_has_clips(self) -> bool { ... } fn get_has_curves(self) -> bool { ... } fn get_is_sub_track(self) -> bool { ... } fn get_outputs(self) -> IEnumerable_1<PlayableBinding> { ... } fn get_child_tracks(self) -> IEnumerable_1<TrackAsset> { ... } fn get_custom_playable_typename(self) -> Il2CppString { ... } fn set_custom_playable_typename(self, value: impl Into<Il2CppString>) { ... } fn get_curves(self) -> AnimationClip { ... } fn set_curves(self, value: impl Into<AnimationClip>) { ... } fn unity_engine_timeline_i_curves_owner_get_default_curves_name( self, ) -> Il2CppString { ... } fn unity_engine_timeline_i_curves_owner_get_asset(self) -> Object_2 { ... } fn unity_engine_timeline_i_curves_owner_get_asset_owner(self) -> Object_2 { ... } fn unity_engine_timeline_i_curves_owner_get_target_track(self) -> TrackAsset { ... } fn get_sub_tracks_objects(self) -> List_1<ScriptableObject> { ... } fn get_locked(self) -> bool { ... } fn set_locked(self, value: impl Into<bool>) { ... } fn get_locked_in_hierarchy(self) -> bool { ... } fn get_supports_notifications(self) -> bool { ... } fn internal_awake(self) { ... } fn create_curves(self, curves_clip_name: impl Into<Il2CppString>) { ... } fn create_track_mixer( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, input_count: impl Into<i32>, ) -> Playable { ... } fn create_playable( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, ) -> Playable { ... } fn create_default_clip(self) -> TimelineClip { ... } fn create_clip<M0: IlType + Copy + ClassIdentity>(self) -> TimelineClip { ... } fn delete_clip(self, clip: impl Into<TimelineClip>) -> bool { ... } fn create_marker( self, type: impl Into<SystemType>, time: impl Into<f64>, ) -> IMarker_Interface { ... } fn create_marker_2<M0: IlType + Copy + ClassIdentity>( self, time: impl Into<f64>, ) -> M0 { ... } fn delete_marker(self, marker: impl Into<IMarker_Interface>) -> bool { ... } fn get_markers(self) -> IEnumerable_1<IMarker_Interface> { ... } fn get_marker_count(self) -> i32 { ... } fn get_marker(self, idx: impl Into<i32>) -> IMarker_Interface { ... } fn create_clip_2( self, requested_type: impl Into<SystemType>, ) -> TimelineClip { ... } fn create_and_add_new_clip_of_type( self, requested_type: impl Into<SystemType>, ) -> TimelineClip { ... } fn create_clip_of_type( self, requested_type: impl Into<SystemType>, ) -> TimelineClip { ... } fn create_clip_from_playable_asset( self, asset: impl Into<IPlayableAsset_Interface>, ) -> TimelineClip { ... } fn create_clip_from_asset( self, playable_asset: impl Into<ScriptableObject>, ) -> TimelineClip { ... } fn get_markers_raw(self) -> IEnumerable_1<ScriptableObject> { ... } fn clear_markers(self) { ... } fn add_marker(self, e: impl Into<ScriptableObject>) { ... } fn delete_marker_raw(self, marker: impl Into<ScriptableObject>) -> bool { ... } fn get_time_range_hash(self) -> i32 { ... } fn add_clip(self, new_clip: impl Into<TimelineClip>) { ... } fn create_notifications_playable( self, graph: impl Into<PlayableGraph>, mixer_playable: impl Into<Playable>, go: impl Into<GameObject>, timeline_playable: impl Into<Playable>, ) -> Playable { ... } fn create_playable_graph( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, timeline_playable: impl Into<Playable>, ) -> Playable { ... } fn compile_clips( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, timeline_clips: impl Into<IList_1_Interface<TimelineClip>>, tree: impl Into<IntervalTree_1<RuntimeElement>>, ) -> Playable { ... } fn gather_compilable_tracks( self, tracks: impl Into<IList_1_Interface<TrackAsset>>, ) { ... } fn gather_notificiations( self, markers: impl Into<List_1<IMarker_Interface>>, ) { ... } fn on_create_clip_playable_graph( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, tree: impl Into<IntervalTree_1<RuntimeElement>>, ) -> Playable { ... } fn configure_track_animation( self, tree: impl Into<IntervalTree_1<RuntimeElement>>, go: impl Into<GameObject>, blend: impl Into<Playable>, ) { ... } fn sort_clips(self) { ... } fn clear_clips_internal(self) { ... } fn clear_sub_tracks_internal(self) { ... } fn on_clip_move(self) { ... } fn create_new_clip_container_internal(self) -> TimelineClip { ... } fn add_child(self, child: impl Into<TrackAsset>) { ... } fn move_last_track_before(self, asset: impl Into<TrackAsset>) { ... } fn remove_sub_track(self, child: impl Into<TrackAsset>) -> bool { ... } fn remove_clip(self, clip: impl Into<TimelineClip>) { ... } fn get_evaluation_time(self) -> (f64, f64) { ... } fn get_sequence_time(self) -> (f64, f64) { ... } fn gather_properties( self, director: impl Into<PlayableDirector>, driver: impl Into<IPropertyCollector>, ) { ... } fn get_game_object_binding( self, director: impl Into<PlayableDirector>, ) -> GameObject { ... } fn validate_clip_type(self, clip_type: impl Into<SystemType>) -> bool { ... } fn on_create_clip(self, clip: impl Into<TimelineClip>) { ... } fn update_duration(self) { ... } fn calculate_items_hash(self) -> i32 { ... } fn create_playable_2( self, graph: impl Into<PlayableGraph>, game_object: impl Into<GameObject>, clip: impl Into<TimelineClip>, ) -> Playable { ... } fn invalidate(self) { ... } fn get_notification_duration(self) -> f64 { ... } fn can_compile_clips(self) -> bool { ... } fn is_compilable(self) -> bool { ... } fn update_child_track_cache(self) { ... } fn hash(self) -> i32 { ... } fn get_clips_hash(self) -> i32 { ... } fn has_notifications(self) -> bool { ... } fn can_compile_notifications(self) -> bool { ... } fn can_compile_clips_recursive(self) -> bool { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_before_track_serialize(self)

OnBeforeTrackSerialize() overload

Source

fn on_after_track_deserialize(self)

OnAfterTrackDeserialize() overload

Source

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

OnUpgradeFromVersion(i32) overload

Source

fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)

UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() overload

Source

fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)

UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() overload

Source

fn upgrade_to_latest_version(self)

UpgradeToLatestVersion() overload

Source

fn get_start(self) -> f64

get_start() overload

Source

fn get_end(self) -> f64

get_end() overload

Source

fn get_duration(self) -> f64

get_duration() overload

Source

fn get_muted(self) -> bool

get_muted() overload

Source

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

set_muted(bool) overload

Source

fn get_muted_in_hierarchy(self) -> bool

get_mutedInHierarchy() overload

Source

fn get_timeline_asset(self) -> TimelineAsset

get_timelineAsset() overload

Source

fn get_parent(self) -> PlayableAsset

get_parent() overload

Source

fn set_parent(self, value: impl Into<PlayableAsset>)

set_parent(crate::unity_engine::playables::playableasset::PlayableAsset) overload

Source

fn get_clips(self) -> IEnumerable_1<TimelineClip>

GetClips() overload

Source

fn get_is_empty(self) -> bool

get_isEmpty() overload

Source

fn get_has_clips(self) -> bool

get_hasClips() overload

Source

fn get_has_curves(self) -> bool

get_hasCurves() overload

Source

fn get_is_sub_track(self) -> bool

get_isSubTrack() overload

Source

fn get_outputs(self) -> IEnumerable_1<PlayableBinding>

get_outputs() overload

Source

fn get_child_tracks(self) -> IEnumerable_1<TrackAsset>

GetChildTracks() overload

Source

fn get_custom_playable_typename(self) -> Il2CppString

get_customPlayableTypename() overload

Source

fn set_custom_playable_typename(self, value: impl Into<Il2CppString>)

set_customPlayableTypename(::unity::Il2CppString) overload

Source

fn get_curves(self) -> AnimationClip

get_curves() overload

Source

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

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

Source

fn unity_engine_timeline_i_curves_owner_get_default_curves_name( self, ) -> Il2CppString

UnityEngine.Timeline.ICurvesOwner.get_defaultCurvesName() overload

Source

fn unity_engine_timeline_i_curves_owner_get_asset(self) -> Object_2

UnityEngine.Timeline.ICurvesOwner.get_asset() overload

Source

fn unity_engine_timeline_i_curves_owner_get_asset_owner(self) -> Object_2

UnityEngine.Timeline.ICurvesOwner.get_assetOwner() overload

Source

fn unity_engine_timeline_i_curves_owner_get_target_track(self) -> TrackAsset

UnityEngine.Timeline.ICurvesOwner.get_targetTrack() overload

Source

fn get_sub_tracks_objects(self) -> List_1<ScriptableObject>

get_subTracksObjects() overload

Source

fn get_locked(self) -> bool

get_locked() overload

Source

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

set_locked(bool) overload

Source

fn get_locked_in_hierarchy(self) -> bool

get_lockedInHierarchy() overload

Source

fn get_supports_notifications(self) -> bool

get_supportsNotifications() overload

Source

fn internal_awake(self)

__internalAwake() overload

Source

fn create_curves(self, curves_clip_name: impl Into<Il2CppString>)

CreateCurves(::unity::Il2CppString) overload

Source

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

CreateTrackMixer(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, i32) overload

Source

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

CreatePlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject) overload

Source

fn create_default_clip(self) -> TimelineClip

CreateDefaultClip() overload

Source

fn create_clip<M0: IlType + Copy + ClassIdentity>(self) -> TimelineClip

Source

fn delete_clip(self, clip: impl Into<TimelineClip>) -> bool

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

Source

fn create_marker( self, type: impl Into<SystemType>, time: impl Into<f64>, ) -> IMarker_Interface

CreateMarker(::unity::SystemType, f64) overload

Source

fn create_marker_2<M0: IlType + Copy + ClassIdentity>( self, time: impl Into<f64>, ) -> M0

Source

fn delete_marker(self, marker: impl Into<IMarker_Interface>) -> bool

DeleteMarker(crate::unity_engine::timeline::imarker_interface::IMarker_Interface) overload

Source

fn get_markers(self) -> IEnumerable_1<IMarker_Interface>

GetMarkers() overload

Source

fn get_marker_count(self) -> i32

GetMarkerCount() overload

Source

fn get_marker(self, idx: impl Into<i32>) -> IMarker_Interface

GetMarker(i32) overload

Source

fn create_clip_2(self, requested_type: impl Into<SystemType>) -> TimelineClip

CreateClip(::unity::SystemType) overload

Source

fn create_and_add_new_clip_of_type( self, requested_type: impl Into<SystemType>, ) -> TimelineClip

CreateAndAddNewClipOfType(::unity::SystemType) overload

Source

fn create_clip_of_type( self, requested_type: impl Into<SystemType>, ) -> TimelineClip

CreateClipOfType(::unity::SystemType) overload

Source

fn create_clip_from_playable_asset( self, asset: impl Into<IPlayableAsset_Interface>, ) -> TimelineClip

CreateClipFromPlayableAsset(crate::unity_engine::playables::iplayableasset_interface::IPlayableAsset_Interface) overload

Source

fn create_clip_from_asset( self, playable_asset: impl Into<ScriptableObject>, ) -> TimelineClip

CreateClipFromAsset(crate::unity_engine::scriptableobject::ScriptableObject) overload

Source

fn get_markers_raw(self) -> IEnumerable_1<ScriptableObject>

GetMarkersRaw() overload

Source

fn clear_markers(self)

ClearMarkers() overload

Source

fn add_marker(self, e: impl Into<ScriptableObject>)

AddMarker(crate::unity_engine::scriptableobject::ScriptableObject) overload

Source

fn delete_marker_raw(self, marker: impl Into<ScriptableObject>) -> bool

DeleteMarkerRaw(crate::unity_engine::scriptableobject::ScriptableObject) overload

Source

fn get_time_range_hash(self) -> i32

GetTimeRangeHash() overload

Source

fn add_clip(self, new_clip: impl Into<TimelineClip>)

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

Source

fn create_notifications_playable( self, graph: impl Into<PlayableGraph>, mixer_playable: impl Into<Playable>, go: impl Into<GameObject>, timeline_playable: impl Into<Playable>, ) -> Playable

CreateNotificationsPlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::playables::playable::Playable, crate::unity_engine::gameobject::GameObject, crate::unity_engine::playables::playable::Playable) overload

Source

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

CreatePlayableGraph(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::playables::playable::Playable) overload

Source

fn compile_clips( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, timeline_clips: impl Into<IList_1_Interface<TimelineClip>>, tree: impl Into<IntervalTree_1<RuntimeElement>>, ) -> Playable

CompileClips(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::timelineclip::TimelineClip>, crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>) overload

Source

fn gather_compilable_tracks( self, tracks: impl Into<IList_1_Interface<TrackAsset>>, )

GatherCompilableTracks(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::timeline::trackasset::TrackAsset>) overload

Source

fn gather_notificiations(self, markers: impl Into<List_1<IMarker_Interface>>)

GatherNotificiations(crate::system::collections::generic::list_1::List_1<crate::unity_engine::timeline::imarker_interface::IMarker_Interface>) 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 configure_track_animation( self, tree: impl Into<IntervalTree_1<RuntimeElement>>, go: impl Into<GameObject>, blend: impl Into<Playable>, )

ConfigureTrackAnimation(crate::unity_engine::timeline::intervaltree_1::IntervalTree_1<crate::unity_engine::timeline::runtimeelement::RuntimeElement>, crate::unity_engine::gameobject::GameObject, crate::unity_engine::playables::playable::Playable) overload

Source

fn sort_clips(self)

SortClips() overload

Source

fn clear_clips_internal(self)

ClearClipsInternal() overload

Source

fn clear_sub_tracks_internal(self)

ClearSubTracksInternal() overload

Source

fn on_clip_move(self)

OnClipMove() overload

Source

fn create_new_clip_container_internal(self) -> TimelineClip

CreateNewClipContainerInternal() overload

Source

fn add_child(self, child: impl Into<TrackAsset>)

AddChild(crate::unity_engine::timeline::trackasset::TrackAsset) overload

Source

fn move_last_track_before(self, asset: impl Into<TrackAsset>)

MoveLastTrackBefore(crate::unity_engine::timeline::trackasset::TrackAsset) overload

Source

fn remove_sub_track(self, child: impl Into<TrackAsset>) -> bool

RemoveSubTrack(crate::unity_engine::timeline::trackasset::TrackAsset) overload

Source

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

RemoveClip(crate::unity_engine::timeline::timelineclip::TimelineClip) 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 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_game_object_binding( self, director: impl Into<PlayableDirector>, ) -> GameObject

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

Source

fn validate_clip_type(self, clip_type: impl Into<SystemType>) -> bool

ValidateClipType(::unity::SystemType) overload

Source

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

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

Source

fn update_duration(self)

UpdateDuration() overload

Source

fn calculate_items_hash(self) -> i32

CalculateItemsHash() overload

Source

fn create_playable_2( self, graph: impl Into<PlayableGraph>, game_object: impl Into<GameObject>, clip: impl Into<TimelineClip>, ) -> Playable

CreatePlayable(crate::unity_engine::playables::playablegraph::PlayableGraph, crate::unity_engine::gameobject::GameObject, crate::unity_engine::timeline::timelineclip::TimelineClip) overload

Source

fn invalidate(self)

Invalidate() overload

Source

fn get_notification_duration(self) -> f64

GetNotificationDuration() overload

Source

fn can_compile_clips(self) -> bool

CanCompileClips() overload

Source

fn is_compilable(self) -> bool

IsCompilable() overload

Source

fn update_child_track_cache(self)

UpdateChildTrackCache() overload

Source

fn hash(self) -> i32

Hash() overload

Source

fn get_clips_hash(self) -> i32

GetClipsHash() overload

Source

fn has_notifications(self) -> bool

HasNotifications() overload

Source

fn can_compile_notifications(self) -> bool

CanCompileNotifications() overload

Source

fn can_compile_clips_recursive(self) -> bool

CanCompileClipsRecursive() 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: ITrackAsset> ITrackAssetMethods for __T

Available on crate feature unity_engine-timeline-trackasset only.