public sealed class VfxGraphViewAn effect, open for editing: the graph, the selected block, and the effect running.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Doc 11's row for this asset is "node graph + live preview viewport", and the three columns here are that: the canvas, which is NodeGraphView's and is already undoable in every gesture; the selected block's numbers, which are NodeInspector's; and the effect itself.
⚠ Compiling and previewing are one button, not two. A preview over a stale artefact is the failure mode that wastes an afternoon — the author changes a block, watches the old effect, and concludes the block does nothing. So Compile is what produces both, and the preview pane draws whatever the last compile left behind.
Fields and properties (11)
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 NodeGraphView GraphViewThe canvas.
public UiElement SideThe column beside it.
public NodeInspector SettingsThe selected block's settings.
public VfxPreviewView PreviewThe effect, running.
public Button BuildThe button that compiles the graph and restarts the preview.
public Button RestartThe button that starts the effect again.
public ToggleButton PlayThe one that pauses it.
public UiElement ReadoutWhat the preview has to say about itself.
public UiElement DiagnosticsWhat compiling said.
Methods (5)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
public void Show(VfxDocument effect)Shows an effect.
protected override void OnRemoved()public int Compile()Compiles the graph, restarts the preview, and lists what compiling said.
public void Tick(TimeSpan delta)Steps the preview and brings its readout up to date.
Used by (2)
- EditorApplicationVixen.Editor.App
- VfxEditorFactoryVixen.Editor.AssetEditors