Class EditTrack
Track that represents an edit of a timeline
Syntax
[Serializable]
public class EditTrack : DOTSTrack, ILayerable
Fields
PreviewTrackMarker
Declaration
public PreviewTrackMarker PreviewTrackMarker
Field Value
TimeMarker
The playhead marker used by the UI to show the time remapping of the track
Declaration
public PlayheadMarker TimeMarker
Field Value
Properties
RemappedDuration
The duration of the timeline when remapped with this take
Declaration
public double RemappedDuration { get; }
Property Value
Methods
ConvertEdits(ConversionContext, ActiveRange)
Compiles this particular edit of the timeline, using the provided active range
Declaration
public void ConvertEdits(ConversionContext context, ActiveRange activeRange)
Parameters
ConvertTrack(ConversionContext, ActiveRange)
Declaration
public override void ConvertTrack(ConversionContext context, ActiveRange range)
Parameters
Overrides
CreateLayerMixer(PlayableGraph, GameObject, Int32)
Declaration
public Playable CreateLayerMixer(PlayableGraph graph, GameObject go, int inputCount)
Parameters
Type |
Name |
Description |
PlayableGraph |
graph |
|
GameObject |
go |
|
Int32 |
inputCount |
|
Returns
Type |
Description |
Playable |
|
GetOrderedClips()
Returns the array of clips in the order they are executed
Declaration
public TimelineClip[] GetOrderedClips()
Returns
Type |
Description |
TimelineClip[] |
|
GetRemappedTime(DiscreteTime)
Given the time on the track, returns the remapped time that will playback
Declaration
public DiscreteTime GetRemappedTime(DiscreteTime inputTime)
Parameters
Returns
InvalidateCache()
Invalidates the cache, forcing the clip ordering to be re-evaluated
Declaration
public void InvalidateCache()
OnCreateClip(TimelineClip)
Declaration
protected override void OnCreateClip(TimelineClip clip)
Parameters
Type |
Name |
Description |
TimelineClip |
clip |
|
ResetClipOrder()
Clears the array of clip ordering
Declaration
public void ResetClipOrder()