GetPropertyHeight(MaterialProperty, string, MaterialEditor)
Override this method to specify how tall the GUI for this property is in pixels.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public virtual float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
Parameters
Returns
Type | Description |
|---|---|
| float |
Remarks
The default is one line high.