docs.unity3d.com
    Show / Hide Table of Contents

    Class CustomPassDrawerAttribute

    Tells a CustomPassDrawer which CustomPass class is intended for the GUI inside the CustomPassDrawer class

    Inheritance
    Object
    Attribute
    CustomPassDrawerAttribute
    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class CustomPassDrawerAttribute : Attribute, _Attribute

    Constructors

    CustomPassDrawerAttribute(Type)

    Indicates that the class is a Custom Pass drawer and that it replaces the default Custom Pass GUI.

    Declaration
    public CustomPassDrawerAttribute(Type targetPassType)
    Parameters
    Type Name Description
    Type targetPassType

    The Custom Pass type.

    Back to top
    Terms of use
    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