Synced
GraphCanvasView.NodeBounds
Section titled “GraphCanvasView.NodeBounds”
- Projects neutral node geometry, optionally substituting a transient drag position.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Graph.ImGui
Declaration
Section titled “Declaration”public (System.Numerics.Vector2 minimum, System.Numerics.Vector2 maximum) Inno.Editor.Graph.ImGui.GraphCanvasView.NodeBounds(Inno.Editor.Graph.ImGui.GraphCanvasNode node, Inno.Core.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.