GetDefaultPropertyHeight(MaterialProperty)
Calculate height needed for the property, ignoring custom drawers.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static float GetDefaultPropertyHeight(MaterialProperty prop)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
This is similar to MaterialEditor.GetPropertyHeight, except it ignores any custom MaterialPropertyDrawer objects.