docs.unity3d.com
    显示 / 隐藏目录

    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.

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)