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

PlacematContainer

class in UnityEditor.Experimental.GraphView

/

继承自:Experimental.GraphView.GraphView.Layer

切换到手册

描述

The GraphView layer for placemats.

Note: this layer is always the bottom-most GraphView layer.

静态变量

PlacematsLayerThe layer index for placing a PlacematContainer in a GraphView.

变量

PlacematsThe enumeration of the placemats in this PlacematContainer.

构造函数

PlacematContainer构造函数。

公共函数

CreatePlacematCreates and initializes a new placemat in this PlacematContainer.
GetPortCenterOverrideGets another location for a specific port and checks if the port has an overridden position.
GetTopZOrderRetrieves the ZOrder value greater than the top-most placemat. For example, if the top-most placemat has a ZOrder value of 10, this method returns 11.
HideCollapsedEdgesHides the edges that are hidden because of collapsed placemats.
RemoveAllPlacematsRemoves the placemats in this PlacematContainer.

受保护的函数

UpdateElementsOrderUpdates the list of collapsed elements. This method is not meant to be called.

继承的成员

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961