Method GetPassHeight
GetPassHeight(SerializedProperty)
Implement this functions if you implement DoPassGUI. The result of this function must match the number of lines displayed in your custom GUI. Note that this height can be dynamic.
Declaration
protected virtual float GetPassHeight(SerializedProperty customPass)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | customPass | Your custom pass instance represented as a SerializedProperty |
Returns
Type | Description |
---|---|
float | The height in pixels of tour custom pass GUI |