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

    Class SlotValueHelper

    Inheritance
    System.Object
    SlotValueHelper
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEditor.ShaderGraph
    Syntax
    public static class SlotValueHelper

    Methods

    ConvertMatrixToVectorType(ConcreteSlotValueType)

    Declaration
    public static ConcreteSlotValueType ConvertMatrixToVectorType(ConcreteSlotValueType matrixType)
    Parameters
    Type Name Description
    ConcreteSlotValueType matrixType
    Returns
    Type Description
    ConcreteSlotValueType

    GetChannelCount(ConcreteSlotValueType)

    Declaration
    public static int GetChannelCount(this ConcreteSlotValueType type)
    Parameters
    Type Name Description
    ConcreteSlotValueType type
    Returns
    Type Description
    System.Int32

    GetMatrixDimension(ConcreteSlotValueType)

    Declaration
    public static int GetMatrixDimension(ConcreteSlotValueType type)
    Parameters
    Type Name Description
    ConcreteSlotValueType type
    Returns
    Type Description
    System.Int32

    ToClassName(ConcreteSlotValueType)

    Declaration
    public static string ToClassName(this ConcreteSlotValueType type)
    Parameters
    Type Name Description
    ConcreteSlotValueType type
    Returns
    Type Description
    System.String

    ToString(ConcreteSlotValueType, AbstractMaterialNode.OutputPrecision)

    Declaration
    public static string ToString(this ConcreteSlotValueType type, AbstractMaterialNode.OutputPrecision precision)
    Parameters
    Type Name Description
    ConcreteSlotValueType type
    AbstractMaterialNode.OutputPrecision precision
    Returns
    Type Description
    System.String
    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