docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 18 November 2022
    Terms of use