Class ChannelEnumMaskControlAttribute | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ChannelEnumMaskControlAttribute

    Inheritance
    System.Object
    ChannelEnumMaskControlAttribute
    Namespace: UnityEditor.ShaderGraph.Drawing.Controls
    Syntax
    public class ChannelEnumMaskControlAttribute : Attribute, IControlAttribute

    Constructors

    ChannelEnumMaskControlAttribute(String, Int32)

    Declaration
    public ChannelEnumMaskControlAttribute(string label = null, int slotId = 0)
    Parameters
    Type Name Description
    System.String label
    System.Int32 slotId

    Methods

    InstantiateControl(AbstractMaterialNode, PropertyInfo)

    Declaration
    public VisualElement InstantiateControl(AbstractMaterialNode node, PropertyInfo propertyInfo)
    Parameters
    Type Name Description
    AbstractMaterialNode node
    PropertyInfo propertyInfo
    Returns
    Type Description
    VisualElement
    Implements
    IControlAttribute.InstantiateControl(AbstractMaterialNode, PropertyInfo)
    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