Synced
GraphCanvasState.SetViewport
Section titled “GraphCanvasState.SetViewport”
- Restores persistent canvas navigation state with bounded zoom.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Graph
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Graph.GraphCanvasState.SetViewport(InnoEngine.Graphs.GraphPosition pan, float zoom)Parameters
Section titled “Parameters”Parameter pan: Graph-space pan offset.
Parameter zoom: Requested zoom in the inclusive range 0.1 to 4.