CalculateRectToFitAll(VisualElement)
Calculate the rectangle size and position to fit all elements in graph.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public virtual Rect CalculateRectToFitAll(VisualElement container)
Parameters
This should be the view container.
Returns
Type | Description |
|---|---|
| Rect | The calculated rectangle. |