Experimental: this API is experimental and might be changed or removed in the future.

NodeCreationContext

struct in UnityEditor.Experimental.UIElements.GraphView

切换到手册

描述

此结构表示用户开始创建图形节点时的上下文。

变量

indexThe index where the created node will be inserted.
screenMousePosition在屏幕的坐标空间中发起创建节点请求的单击位置。
targetThe VisualElement where the created node will be added.