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: scripting
Project: Inno.Editor.Graph.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Graph.GraphCanvasNode? InnoEditor.Graph.GraphCanvasView.HitNode(InnoEditor.Graph.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.