GetLeftAlignedFieldRect(Rect)
Utility method for GUI layouting ShaderGUI.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static Rect GetLeftAlignedFieldRect(Rect r)
Parameters
Field Rect.
Returns
Type | Description |
|---|---|
| Rect | A sub rect of the input Rect. |