PlacematContainer
The GraphView layer for placemats.
Read time 7 minutesLast updated 10 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
- Inherits from: Layer
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
public class PlacematContainer : GraphView.Layer, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle
Remarks
Note: this layer is always the bottom-most GraphView layer.
Constructors
Constructor | Description |
|---|---|
| PlacematContainer(UnityEditor.Experimental.GraphView.GraphView) | Constructor. |
Properties
Property | Description |
|---|---|
| Placemats | The enumeration of the placemats in this PlacematContainer. |
Static Properties
Property | Description |
|---|---|
| PlacematsLayer | The layer index for placing a PlacematContainer in a GraphView. |
Methods
Method | Description |
|---|---|
| CreatePlacemat | Creates and initializes a new placemat in this PlacematContainer. |
| GetPortCenterOverride | Gets another location for a specific port and checks if the port has an overridden position. |
| GetTopZOrder | Retrieves 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. |
| HideCollapsedEdges | Hides the edges that are hidden because of collapsed placemats. |
| RemoveAllPlacemats | Removes the placemats in this PlacematContainer. |
| UpdateElementsOrder | Updates the list of collapsed elements. This method is not meant to be called. |
Enums
Enum | Description |
|---|---|
| PlacematContainer.CycleDirection | Use to set the placemat cycling direction. |