Skip to main content

ITimelineAssetMethods

Trait ITimelineAssetMethods 

Source
pub trait ITimelineAssetMethods: ITimelineAsset {
Show 43 methods // Provided methods fn upgrade_to_latest_version(self) { ... } fn get_editor_settings(self) -> TimelineAsset_EditorSettings { ... } fn get_duration(self) -> f64 { ... } fn get_fixed_duration(self) -> f64 { ... } fn set_fixed_duration(self, value: impl Into<f64>) { ... } fn get_duration_mode(self) -> TimelineAsset_DurationMode { ... } fn set_duration_mode(self, value: impl Into<TimelineAsset_DurationMode>) { ... } fn get_outputs(self) -> IEnumerable_1<PlayableBinding> { ... } fn get_clip_caps(self) -> ClipCaps { ... } fn get_output_track_count(self) -> i32 { ... } fn get_root_track_count(self) -> i32 { ... } fn on_validate(self) { ... } fn get_root_track(self, index: impl Into<i32>) -> TrackAsset { ... } fn get_root_tracks(self) -> IEnumerable_1<TrackAsset> { ... } fn get_output_track(self, index: impl Into<i32>) -> TrackAsset { ... } fn get_output_tracks(self) -> IEnumerable_1<TrackAsset> { ... } fn update_root_track_cache(self) { ... } fn update_output_track_cache(self) { ... } fn get_flattened_tracks(self) -> IEnumerable_1<TrackAsset> { ... } fn get_marker_track(self) -> MarkerTrack { ... } fn get_track_objects(self) -> List_1<ScriptableObject> { ... } fn add_track_internal(self, track: impl Into<TrackAsset>) { ... } fn remove_track(self, track: impl Into<TrackAsset>) { ... } fn create_playable( self, graph: impl Into<PlayableGraph>, go: impl Into<GameObject>, ) -> Playable { ... } fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self) { ... } fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self) { ... } fn internal_awake(self) { ... } fn gather_properties( self, director: impl Into<PlayableDirector>, driver: impl Into<IPropertyCollector>, ) { ... } fn create_marker_track(self) { ... } fn invalidate(self) { ... } fn update_fixed_duration_with_items_duration(self) { ... } fn calculate_items_duration(self) -> DiscreteTime { ... } fn create_track( self, type: impl Into<SystemType>, parent: impl Into<TrackAsset>, name: impl Into<Il2CppString>, ) -> TrackAsset { ... } fn create_track_2<M0: IlType + Copy + ClassIdentity>( self, parent: impl Into<TrackAsset>, track_name: impl Into<Il2CppString>, ) -> M0 { ... } fn create_track_3<M0: IlType + Copy + ClassIdentity>( self, track_name: impl Into<Il2CppString>, ) -> M0 { ... } fn create_track_4<M0: IlType + Copy + ClassIdentity>(self) -> M0 { ... } fn delete_clip(self, clip: impl Into<TimelineClip>) -> bool { ... } fn delete_track(self, track: impl Into<TrackAsset>) -> bool { ... } fn move_last_track_before(self, asset: impl Into<TrackAsset>) { ... } fn allocate_track( self, track_asset_parent: impl Into<TrackAsset>, track_name: impl Into<Il2CppString>, track_type: impl Into<SystemType>, ) -> TrackAsset { ... } fn delete_recorded_animation(self, track: impl Into<TrackAsset>) { ... } fn delete_recorded_animation_2(self, clip: impl Into<TimelineClip>) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn upgrade_to_latest_version(self)

UpgradeToLatestVersion() overload

Source

fn get_editor_settings(self) -> TimelineAsset_EditorSettings

get_editorSettings() overload

Source

fn get_duration(self) -> f64

get_duration() overload

Source

fn get_fixed_duration(self) -> f64

get_fixedDuration() overload

Source

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

set_fixedDuration(f64) overload

Source

fn get_duration_mode(self) -> TimelineAsset_DurationMode

get_durationMode() overload

Source

fn set_duration_mode(self, value: impl Into<TimelineAsset_DurationMode>)

set_durationMode(crate::unity_engine::timeline::timelineasset::TimelineAsset_DurationMode) overload

Source

fn get_outputs(self) -> IEnumerable_1<PlayableBinding>

get_outputs() overload

Source

fn get_clip_caps(self) -> ClipCaps

get_clipCaps() overload

Source

fn get_output_track_count(self) -> i32

get_outputTrackCount() overload

Source

fn get_root_track_count(self) -> i32

get_rootTrackCount() overload

Source

fn on_validate(self)

OnValidate() overload

Source

fn get_root_track(self, index: impl Into<i32>) -> TrackAsset

GetRootTrack(i32) overload

Source

fn get_root_tracks(self) -> IEnumerable_1<TrackAsset>

GetRootTracks() overload

Source

fn get_output_track(self, index: impl Into<i32>) -> TrackAsset

GetOutputTrack(i32) overload

Source

fn get_output_tracks(self) -> IEnumerable_1<TrackAsset>

GetOutputTracks() overload

Source

fn update_root_track_cache(self)

UpdateRootTrackCache() overload

Source

fn update_output_track_cache(self)

UpdateOutputTrackCache() overload

Source

fn get_flattened_tracks(self) -> IEnumerable_1<TrackAsset>

get_flattenedTracks() overload

Source

fn get_marker_track(self) -> MarkerTrack

get_markerTrack() overload

Source

fn get_track_objects(self) -> List_1<ScriptableObject>

get_trackObjects() overload

Source

fn add_track_internal(self, track: impl Into<TrackAsset>)

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

Source

fn remove_track(self, track: impl Into<TrackAsset>)

RemoveTrack(crate::unity_engine::timeline::trackasset::TrackAsset) 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 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 internal_awake(self)

__internalAwake() 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 create_marker_track(self)

CreateMarkerTrack() overload

Source

fn invalidate(self)

Invalidate() overload

Source

fn update_fixed_duration_with_items_duration(self)

UpdateFixedDurationWithItemsDuration() overload

Source

fn calculate_items_duration(self) -> DiscreteTime

CalculateItemsDuration() overload

Source

fn create_track( self, type: impl Into<SystemType>, parent: impl Into<TrackAsset>, name: impl Into<Il2CppString>, ) -> TrackAsset

CreateTrack(::unity::SystemType, crate::unity_engine::timeline::trackasset::TrackAsset, ::unity::Il2CppString) overload

Source

fn create_track_2<M0: IlType + Copy + ClassIdentity>( self, parent: impl Into<TrackAsset>, track_name: impl Into<Il2CppString>, ) -> M0

Source

fn create_track_3<M0: IlType + Copy + ClassIdentity>( self, track_name: impl Into<Il2CppString>, ) -> M0

Source

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

Source

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

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

Source

fn delete_track(self, track: impl Into<TrackAsset>) -> bool

DeleteTrack(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 allocate_track( self, track_asset_parent: impl Into<TrackAsset>, track_name: impl Into<Il2CppString>, track_type: impl Into<SystemType>, ) -> TrackAsset

AllocateTrack(crate::unity_engine::timeline::trackasset::TrackAsset, ::unity::Il2CppString, ::unity::SystemType) overload

Source

fn delete_recorded_animation(self, track: impl Into<TrackAsset>)

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

Source

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

DeleteRecordedAnimation(crate::unity_engine::timeline::timelineclip::TimelineClip) 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: ITimelineAsset> ITimelineAssetMethods for __T

Available on crate feature unity_engine-timeline-timelineasset only.