Synced
GraphCanvasView.Constructor
Section titled “GraphCanvasView.Constructor”
- Creates a frame-local graph presenter over navigation owned by its document.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Graph.ImGui
Declaration
Section titled “Declaration”public Inno.Editor.Graph.ImGui.GraphCanvasView.GraphCanvasView(Inno.Editor.Graph.GraphCanvasState state, System.Numerics.Vector2 origin, System.Numerics.Vector2 size)Parameters
Section titled “Parameters”Parameter state: The existing neutral navigation and selection state.
Parameter origin: The screen-space canvas origin.
Parameter size: The finite nonnegative canvas extent.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The document-owned navigation state is null.
Exception T:System.ArgumentOutOfRangeException: The canvas geometry is invalid.