Version: 2022.1
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.

继承的成员