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

NodeCreationContext

struct in UnityEditor.Experimental.UIElements.GraphView

Switch to Manual

Description

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

Variables

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