Synced
GraphCanvasView.NodeBounds
Section titled “GraphCanvasView.NodeBounds”
- Projects neutral node geometry, optionally substituting a transient drag position.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Graph.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public (System.Numerics.Vector2, System.Numerics.Vector2) InnoEditor.Graph.GraphCanvasView.NodeBounds(InnoEditor.Graph.GraphCanvasNode node, InnoEngine.Graphs.GraphPosition? previewPosition = null)Parameters
Section titled “Parameters”Parameter node: The immutable display node.
Parameter previewPosition: An uncommitted gesture position, or null to use the document position.
Returns
Section titled “Returns”The screen-space node bounds.