Synced
GraphCanvasState.SetViewport
Section titled “GraphCanvasState.SetViewport”
- Restores persistent canvas navigation state with bounded zoom.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Graph
Declaration
Section titled “Declaration”public void Inno.Editor.Graph.GraphCanvasState.SetViewport(Inno.Core.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.