Class CustomPassDrawer
Custom UI class for custom passes
상속된 멤버
네임스페이스: UnityEditor.Rendering.HighDefinition
어셈블리: solution.dll
구문
[CustomPassDrawer(typeof(CustomPass))]
public class CustomPassDrawer
프로퍼티
이름 | 설명 |
---|---|
commonPassUIFlags | Controls which field of the common pass UI is displayed. |
메서드
이름 | 설명 |
---|---|
DoPassGUI(SerializedProperty, Rect) | Implement this function to draw your custom GUI. |
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. |
Initialize(SerializedProperty) | Use this function to initialize the local SerializedProperty you will use in your pass. |