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

    Class VertexColorMaterialSlot

    Inheritance
    System.Object
    MaterialSlot
    Vector4MaterialSlot
    VertexColorMaterialSlot
    Inherited Members
    Vector4MaterialSlot.defaultValue
    Vector4MaterialSlot.value
    Vector4MaterialSlot.ConcreteSlotValueAsVariable(AbstractMaterialNode.OutputPrecision)
    Vector4MaterialSlot.AddDefaultProperty(PropertyCollector, GenerationMode)
    Vector4MaterialSlot.GetPreviewProperties(List<PreviewProperty>, String)
    Vector4MaterialSlot.valueType
    Vector4MaterialSlot.concreteValueType
    Vector4MaterialSlot.CopyValuesFrom(MaterialSlot)
    MaterialSlot.displayName
    MaterialSlot.RawDisplayName()
    MaterialSlot.CreateMaterialSlot(SlotValueType, Int32, String, String, SlotType, Vector4, ShaderStageCapability, Boolean)
    MaterialSlot.slotReference
    MaterialSlot.owner
    MaterialSlot.hidden
    MaterialSlot.id
    MaterialSlot.priority
    MaterialSlot.isInputSlot
    MaterialSlot.isOutputSlot
    MaterialSlot.slotType
    MaterialSlot.isConnected
    MaterialSlot.shaderOutputName
    MaterialSlot.stageCapability
    MaterialSlot.hasError
    MaterialSlot.IsCompatibleWith(MaterialSlot)
    MaterialSlot.IsCompatibleStageWith(MaterialSlot)
    MaterialSlot.ConvertConcreteSlotValueTypeToPropertyType(ConcreteSlotValueType)
    MaterialSlot.Equals(ISlot)
    MaterialSlot.Equals(Object)
    MaterialSlot.GetHashCode()
    Namespace: UnityEditor.ShaderGraph
    Syntax
    public class VertexColorMaterialSlot : Vector4MaterialSlot, IMaterialSlotHasValue<Vector4>, IMayRequireScreenPosition

    Constructors

    VertexColorMaterialSlot(Int32, String, String, ShaderStageCapability, Boolean)

    Declaration
    public VertexColorMaterialSlot(int slotId, string displayName, string shaderOutputName, ShaderStageCapability stageCapability = ShaderStageCapability.All, bool hidden = false)
    Parameters
    Type Name Description
    System.Int32 slotId
    System.String displayName
    System.String shaderOutputName
    ShaderStageCapability stageCapability
    System.Boolean hidden

    Methods

    GetDefaultValue(GenerationMode)

    Declaration
    public override string GetDefaultValue(GenerationMode generationMode)
    Parameters
    Type Name Description
    GenerationMode generationMode
    Returns
    Type Description
    System.String
    Overrides
    MaterialSlot.GetDefaultValue(GenerationMode)

    InstantiateControl()

    Declaration
    public override VisualElement InstantiateControl()
    Returns
    Type Description
    VisualElement
    Overrides
    Vector4MaterialSlot.InstantiateControl()

    RequiresScreenPosition(ShaderStageCapability)

    Declaration
    public bool RequiresScreenPosition(ShaderStageCapability stageCapability)
    Parameters
    Type Name Description
    ShaderStageCapability stageCapability
    Returns
    Type Description
    System.Boolean
    Implements
    IMayRequireScreenPosition.RequiresScreenPosition(ShaderStageCapability)
    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