Synced
GraphCanvasView.HitNode
Section titled “GraphCanvasView.HitNode”
- Finds the frontmost node beneath a pointer using the same geometry as drawing.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Graph.ImGui
Declaration
Section titled “Declaration”public Inno.Editor.Graph.ImGui.GraphCanvasNode? Inno.Editor.Graph.ImGui.GraphCanvasView.HitNode(Inno.Editor.Graph.ImGui.GraphCanvasLayout layout, System.Numerics.Vector2 point)Parameters
Section titled “Parameters”Parameter layout: The current document presentation snapshot.
Parameter point: The screen-space pointer.
Returns
Section titled “Returns”The frontmost neutral node, or null over empty canvas.