Class CustomPassDrawer | High Definition RP | 7.1.8
docs.unity3d.com
    Show / Hide Table of Contents

    Class CustomPassDrawer

    Custom UI class for custom passes

    Inheritance
    Object
    CustomPassDrawer
    DrawRenderersCustomPassDrawer
    FullScreenCustomPassDrawer
    Namespace: UnityEditor.Rendering.HighDefinition
    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
    Type Description
    CustomPassDrawer.PassUIFlag

    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
    Type Description
    Single

    Initialize(SerializedProperty)

    Declaration
    protected virtual void Initialize(SerializedProperty customPass)
    Parameters
    Type Name Description
    SerializedProperty customPass
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023