GetLeftAlignedFieldRect(Rect)
Utility method for GUI layouting ShaderGUI.
阅读时间1 分钟最后更新于 1 个月前
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. |