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.
선언
protected virtual float GetPassHeight(SerializedProperty customPass)
파라미터
타입 | 이름 | 설명 |
---|---|---|
SerializedProperty | customPass | Your custom pass instance represented as a SerializedProperty |
반환
타입 | 설명 |
---|---|
float | The height in pixels of tour custom pass GUI |