Class CustomPassDrawer
Custom UI class for custom passes
Inheritance
CustomPassDrawer
Syntax
[CustomPassDrawer(typeof(CustomPass))]
public class CustomPassDrawer
Properties
commonPassUIFlags
Controls which field of the common pass UI is displayed.
Declaration
protected virtual CustomPassDrawer.PassUIFlag commonPassUIFlags { get; }
Property Value
Methods
DoPassGUI(SerializedProperty, Rect)
Declaration
protected virtual void DoPassGUI(SerializedProperty customPass, Rect rect)
Parameters
Type |
Name |
Description |
SerializedProperty |
customPass |
|
Rect |
rect |
|
GetPassHeight(SerializedProperty)
Declaration
protected virtual float GetPassHeight(SerializedProperty customPass)
Parameters
Type |
Name |
Description |
SerializedProperty |
customPass |
|
Returns
Initialize(SerializedProperty)
Declaration
protected virtual void Initialize(SerializedProperty customPass)
Parameters
Type |
Name |
Description |
SerializedProperty |
customPass |
|