GetPropertyHeight
Calculate height needed for the property.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
GetPropertyHeight(MaterialProperty)
Calculate height needed for the property.
public float GetPropertyHeight(MaterialProperty prop)
Parameters
Returns
Type | Description |
|---|---|
| float |
GetPropertyHeight(MaterialProperty, string)
Calculate height needed for the property.
public float GetPropertyHeight(MaterialProperty prop, string label)
Parameters
Returns
Type | Description |
|---|---|
| float |