CreatePlacemat
Creates and initializes a new placemat in this PlacematContainer.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
CreatePlacemat<T>(Rect, int, string)
Creates and initializes a new placemat in this PlacematContainer.
public T CreatePlacemat<T>(Rect placematPosition, int zOrder, string placematTitle) where T : Placemat, new()
Parameters
Returns
Type | Description |
|---|---|
| T | Returns the created placemat. |
CreatePlacemat<T>(Func<T>, Rect, int, string)
Creates and initializes a new placemat in this PlacematContainer.
public T CreatePlacemat<T>(Func<T> creator, Rect placematPosition, int zOrder, string placematTitle) where T : Placemat
Parameters
Returns
Type | Description |
|---|---|
| T | Returns the created placemat. |