docs.unity3d.com
    Show / Hide Table of Contents

    Struct ParameterInfo

    A class describing a single shader parameter, used to simplify reading values from USD.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: USD.NET.Unity
    Syntax
    public struct ParameterInfo

    Fields

    connectedPath

    A source connected to the parameter, null if not connected. Note that this path will always target an attribute, not the prim itself.

    Declaration
    public string connectedPath
    Field Value
    Type Description
    String

    requiredShaderKeywords

    Some shaders require enabling keywords to enable features, this is the list of required keywords associated with this parameter.

    Declaration
    public string[] requiredShaderKeywords
    Field Value
    Type Description
    String[]

    unityName

    The name of the parameter, as declared in the Unity shader source file.

    Declaration
    public string unityName
    Field Value
    Type Description
    String

    usdName

    The name of the parameter, as declared in the USD Sample class.

    Declaration
    public string usdName
    Field Value
    Type Description
    String

    value

    The value to use when the parameter is not connected.

    Declaration
    public object value
    Field Value
    Type Description
    Object

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()
    Back to top
    Copyright © 2023 Unity Technologies
    • 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 Thursday, October 19, 2023