csharp
public sealed class TimelineTrackOne row: a name, some keys or some spans, and optionally the curve they describe.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public string NameWhat it is called.
public TimelineTrackKind KindWhether it holds instants or intervals.
public IReadOnlyList<TimelineKey> KeysIts keys, in time order.
public IReadOnlyList<TimelineSpan> SpansIts spans, in start order.
public bool MutedWhether it is switched off.
public AnimationCurve? CurveThe curve these keys are of, if the application has one.
public object? TagWhatever the application wants to hang off it.
Methods (7)
public TimelineTrack(string name, TimelineTrackKind kind = Keys)Creates a track.
public TimelineKey Add(float time, object? tag = null)Adds a key.
public bool Remove(TimelineKey key)Removes a key.
public void Move(TimelineKey key, float time)Moves a key and puts the list back in time order.
public TimelineSpan AddSpan(float begin, float end, object? tag = null)Adds a span.
public bool Remove(TimelineSpan span)Removes a span.
public void Move(TimelineSpan span, float begin, float end)Moves a span's ends and puts the list back in start order.
Used by (7)
- TimelineVixen.Ui.Controls.Advanced
- TimelineHeaderVixen.Ui.Controls.Advanced
- TimelineLanesVixen.Ui.Controls.Advanced
- TimelineSpanTestsVixen.Ui.Controls.Advanced.Tests
- TimelineTestsVixen.Ui.Controls.Advanced.Tests
- AnimationClipViewVixen.Editor.AssetEditors
- SequenceViewVixen.Editor.AssetEditors