Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Restores persistent canvas navigation state with bounded zoom.

API: scripting
Project: Inno.Editor.Graph
Scope: Editor

public void InnoEditor.Graph.GraphCanvasState.SetViewport(InnoEngine.Graphs.GraphPosition pan, float zoom)

Parameter pan: Graph-space pan offset.

Parameter zoom: Requested zoom in the inclusive range 0.1 to 4.