Class TimelineAsset
A PlayableAsset that represents a timeline.
Inherited Members
Namespace: UnityEngine.Timeline
Assembly: solution.dll
Syntax
[ExcludeFromPreset]
[Serializable]
public class TimelineAsset : PlayableAsset, IPlayableAsset, ISerializationCallbackReceiver, ITimelineClipAsset, IPropertyPreview
Properties
Name | Description |
---|---|
clipCaps | Returns a description of the features supported by clips with PlayableAssets implementing this interface. |
duration | The length, in seconds, of the timeline |
durationMode | The mode used to determine the duration of the Timeline |
editorSettings | Settings used by timeline for editing purposes |
fixedDuration | The length of the timeline when durationMode is set to fixed length. |
markerTrack | Gets the marker track for this TimelineAsset. |
outputTrackCount | Returns the the number of output tracks in the Timeline. |
outputs | A description of the PlayableOutputs that will be created by the timeline when instantiated. |
rootTrackCount | Returns the number of tracks at the root level of the timeline. |
Methods
Name | Description |
---|---|
CreateMarkerTrack() | Creates a marker track for the TimelineAsset. |
CreatePlayable(PlayableGraph, GameObject) | Creates an instance of the timeline |
CreateTrack(Type, TrackAsset, string) | Allows you to create a track and add it to the Timeline. |
CreateTrack<T>() | Creates a track and adds it to the Timeline Asset. |
CreateTrack<T>(string) | Creates a track and adds it to the Timeline Asset. |
CreateTrack<T>(TrackAsset, string) | Creates a track and adds it to the Timeline Asset. |
DeleteClip(TimelineClip) | Delete a clip from this timeline. |
DeleteTrack(TrackAsset) | Deletes a track from a timeline, including all clips and subtracks. |
GatherProperties(PlayableDirector, IPropertyCollector) | Called by the Timeline Editor to gather properties requiring preview. |
GetOutputTrack(int) | Retrives the output track from the given index. |
GetOutputTracks() | Gets a list of all output tracks in the Timeline. |
GetRootTrack(int) | Retrieves at root track at the specified index. |
GetRootTracks() | Get an enumerable list of all root tracks. |