public sealed class SequenceViewA cinematic, open for editing: tracks over time, scrubbed against the open scene.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Doc 20's exit criterion for E5 is "a cinematic can be authored, scrubbed and played", and the three verbs are the three things here: a track per actor with keys on it, a playhead that drives the scene as it moves, and a transport that advances the playhead.
⚠ Recording is "key what the actor is doing now", not a capture mode. The way a cinematic is actually authored is: move the playhead, pose the actor with the ordinary gizmo in the ordinary viewport, press the key button. A dedicated record mode that intercepted the gizmo would be a second way to move an object, and the first one already has undo, snapping and numeric entry.
⚠ Leaving the panel restores the scene. SequencePlayer takes a snapshot of the actors a sequence names and puts them back — see its own remarks — and this view is what tells it when. Without that, scrubbing a shot and saving the level writes the actors where frame 47 left them.
Fields and properties (14)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override bool AcceptsFocusWhether the focus can rest on this kind of control at all.
public Timeline TracksThe tracks.
public UiElement SideThe column beside them.
public UiElement FieldsThe selected track's fields.
public UiElement LogWhat the last scrub raised.
public ToggleButton PlayRuns the sequence.
public Button AddTransformAdds a transform track for the selected entity.
public Button AddEventAdds an event track.
public Button AddCameraAdds a camera track.
public Button KeyKeys the selected track at the playhead.
public Button DeleteTrackRemoves the selected track.
public NumericInput DurationHow long the sequence is.
public SequenceTrackData? SelectedWhich track is selected, or .
Methods (7)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void Show(SequenceDocument sequence)Shows a sequence.
protected override void OnRemoved()Called once, as the element leaves the document.
public void Reload(SequenceDocument sequence)Rebuilds the tracks from the document.
public int Seek(float time)Moves the playhead and drives the scene.
public void Tick(TimeSpan delta)Advances the playhead if the transport is running.
public void Restate()Rebuilds the fields for the selected track.
Used by (3)
- EditorApplicationVixen.Editor.App
- MilestoneE5TestsVixen.Editor.App.Tests
- SequenceEditorFactoryVixen.Editor.AssetEditors