NodeCreationContext
This struct represents the context when the user initiates creating a graph node.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public struct NodeCreationContext
Fields
Value | Description |
|---|---|
| index | The index where the created node will be inserted. |
| screenMousePosition | Position of the click that initiated the request to create a node, in the coordinate space of the screen. |
| target | The VisualElement where the created node will be added. |