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§
Sourcefn upgrade_to_latest_version(self)
fn upgrade_to_latest_version(self)
UpgradeToLatestVersion() overload
Sourcefn get_editor_settings(self) -> TimelineAsset_EditorSettings
fn get_editor_settings(self) -> TimelineAsset_EditorSettings
get_editorSettings() overload
Sourcefn get_duration(self) -> f64
fn get_duration(self) -> f64
get_duration() overload
Sourcefn get_fixed_duration(self) -> f64
fn get_fixed_duration(self) -> f64
get_fixedDuration() overload
Sourcefn set_fixed_duration(self, value: impl Into<f64>)
fn set_fixed_duration(self, value: impl Into<f64>)
set_fixedDuration(f64) overload
Sourcefn get_duration_mode(self) -> TimelineAsset_DurationMode
fn get_duration_mode(self) -> TimelineAsset_DurationMode
get_durationMode() overload
Sourcefn set_duration_mode(self, value: impl Into<TimelineAsset_DurationMode>)
fn set_duration_mode(self, value: impl Into<TimelineAsset_DurationMode>)
set_durationMode(crate::unity_engine::timeline::timelineasset::TimelineAsset_DurationMode) overload
Sourcefn get_outputs(self) -> IEnumerable_1<PlayableBinding>
fn get_outputs(self) -> IEnumerable_1<PlayableBinding>
get_outputs() overload
Sourcefn get_clip_caps(self) -> ClipCaps
fn get_clip_caps(self) -> ClipCaps
get_clipCaps() overload
Sourcefn get_output_track_count(self) -> i32
fn get_output_track_count(self) -> i32
get_outputTrackCount() overload
Sourcefn get_root_track_count(self) -> i32
fn get_root_track_count(self) -> i32
get_rootTrackCount() overload
Sourcefn on_validate(self)
fn on_validate(self)
OnValidate() overload
Sourcefn get_root_track(self, index: impl Into<i32>) -> TrackAsset
fn get_root_track(self, index: impl Into<i32>) -> TrackAsset
GetRootTrack(i32) overload
Sourcefn get_root_tracks(self) -> IEnumerable_1<TrackAsset>
fn get_root_tracks(self) -> IEnumerable_1<TrackAsset>
GetRootTracks() overload
Sourcefn get_output_track(self, index: impl Into<i32>) -> TrackAsset
fn get_output_track(self, index: impl Into<i32>) -> TrackAsset
GetOutputTrack(i32) overload
Sourcefn get_output_tracks(self) -> IEnumerable_1<TrackAsset>
fn get_output_tracks(self) -> IEnumerable_1<TrackAsset>
GetOutputTracks() overload
Sourcefn update_root_track_cache(self)
fn update_root_track_cache(self)
UpdateRootTrackCache() overload
Sourcefn update_output_track_cache(self)
fn update_output_track_cache(self)
UpdateOutputTrackCache() overload
Sourcefn get_flattened_tracks(self) -> IEnumerable_1<TrackAsset>
fn get_flattened_tracks(self) -> IEnumerable_1<TrackAsset>
get_flattenedTracks() overload
Sourcefn get_marker_track(self) -> MarkerTrack
fn get_marker_track(self) -> MarkerTrack
get_markerTrack() overload
Sourcefn get_track_objects(self) -> List_1<ScriptableObject>
fn get_track_objects(self) -> List_1<ScriptableObject>
get_trackObjects() overload
Sourcefn add_track_internal(self, track: impl Into<TrackAsset>)
fn add_track_internal(self, track: impl Into<TrackAsset>)
AddTrackInternal(crate::unity_engine::timeline::trackasset::TrackAsset) overload
Sourcefn remove_track(self, track: impl Into<TrackAsset>)
fn remove_track(self, track: impl Into<TrackAsset>)
RemoveTrack(crate::unity_engine::timeline::trackasset::TrackAsset) overload
Sourcefn create_playable(
self,
graph: impl Into<PlayableGraph>,
go: impl Into<GameObject>,
) -> Playable
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
Sourcefn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)
fn unity_engine_i_serialization_callback_receiver_on_before_serialize(self)
UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() overload
Sourcefn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)
fn unity_engine_i_serialization_callback_receiver_on_after_deserialize(self)
UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() overload
Sourcefn internal_awake(self)
fn internal_awake(self)
__internalAwake() overload
Sourcefn gather_properties(
self,
director: impl Into<PlayableDirector>,
driver: impl Into<IPropertyCollector>,
)
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
Sourcefn create_marker_track(self)
fn create_marker_track(self)
CreateMarkerTrack() overload
Sourcefn invalidate(self)
fn invalidate(self)
Invalidate() overload
Sourcefn update_fixed_duration_with_items_duration(self)
fn update_fixed_duration_with_items_duration(self)
UpdateFixedDurationWithItemsDuration() overload
Sourcefn calculate_items_duration(self) -> DiscreteTime
fn calculate_items_duration(self) -> DiscreteTime
CalculateItemsDuration() overload
Sourcefn create_track(
self,
type: impl Into<SystemType>,
parent: impl Into<TrackAsset>,
name: impl Into<Il2CppString>,
) -> TrackAsset
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
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
Sourcefn delete_clip(self, clip: impl Into<TimelineClip>) -> bool
fn delete_clip(self, clip: impl Into<TimelineClip>) -> bool
DeleteClip(crate::unity_engine::timeline::timelineclip::TimelineClip) overload
Sourcefn delete_track(self, track: impl Into<TrackAsset>) -> bool
fn delete_track(self, track: impl Into<TrackAsset>) -> bool
DeleteTrack(crate::unity_engine::timeline::trackasset::TrackAsset) overload
Sourcefn move_last_track_before(self, asset: impl Into<TrackAsset>)
fn move_last_track_before(self, asset: impl Into<TrackAsset>)
MoveLastTrackBefore(crate::unity_engine::timeline::trackasset::TrackAsset) overload
Sourcefn allocate_track(
self,
track_asset_parent: impl Into<TrackAsset>,
track_name: impl Into<Il2CppString>,
track_type: impl Into<SystemType>,
) -> TrackAsset
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
Sourcefn delete_recorded_animation(self, track: impl Into<TrackAsset>)
fn delete_recorded_animation(self, track: impl Into<TrackAsset>)
DeleteRecordedAnimation(crate::unity_engine::timeline::trackasset::TrackAsset) overload
Sourcefn delete_recorded_animation_2(self, clip: impl Into<TimelineClip>)
fn delete_recorded_animation_2(self, clip: impl Into<TimelineClip>)
DeleteRecordedAnimation(crate::unity_engine::timeline::timelineclip::TimelineClip) 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: ITimelineAsset> ITimelineAssetMethods for __T
unity_engine-timeline-timelineasset only.