| Parameter | Description |
|---|---|
| prop | The property to calculate the height for. |
float The height, in pixels, needed to draw the property.
Calculates the height needed to draw a property, using its display name as the label.
The height includes any custom MaterialPropertyDrawer that the shader defines for the property.
| Parameter | Description |
|---|---|
| prop | The property to calculate the height for. |
| label | The label to draw the property with. |
float The height, in pixels, needed to draw the property.
Calculates the height needed to draw a property with a specified label.
The height includes any custom MaterialPropertyDrawer that the shader defines for the property.