Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PlacematContainer

The GraphView layer for placemats.
Read time 7 minutesLast updated 10 days ago

Definition

public class PlacematContainer : GraphView.Layer, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle

Remarks

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

Constructors

Properties

Property

Description

PlacematsThe enumeration of the placemats in this PlacematContainer.

Static Properties

Property

Description

PlacematsLayerThe layer index for placing a PlacematContainer in a GraphView.

Methods

Method

Description

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.

Enums

Enum

Description

PlacematContainer.CycleDirectionUse to set the placemat cycling direction.

Inheritance

Inherited Members