Class CustomPassDrawer
Custom UI class for custom passes
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
[CustomPassDrawer(typeof(CustomPass))]
public class CustomPassDrawer
Properties
Name | Description |
---|---|
commonPassUIFlags | Controls which field of the common pass UI is displayed. |
target | Get the current instance of the custom pass being displayed in the Custom Pass Volume Editor. |
Methods
Name | Description |
---|---|
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. |