docs.unity3d.com
Search Results for

    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
    Assembly: solution.dll
    Syntax
    public struct ParameterInfo

    Fields

    Name Description
    connectedPath

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

    requiredShaderKeywords

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

    unityName

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

    usdName

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

    value

    The value to use when the parameter is not connected.

    Methods

    Name Description
    ToString()

    Returns the fully qualified type name of this instance.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)