docs.unity3d.com
    Show / Hide Table of Contents

    Class PrimvarReaderExportSample<T>

    Inheritance
    Object
    SampleBase
    ShaderSample
    PrimvarReaderSample<T>
    PrimvarReaderExportSample<T>
    Inherited Members
    PrimvarReaderSample<T>.fallback
    PrimvarReaderSample<T>.outputs
    ShaderSample.id
    ShaderSample.GetInputParameters()
    ShaderSample.GetInputTextures()
    SampleBase.Free()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: USD.NET.Unity
    Syntax
    [Serializable]
    [UsdSchema("Shader")]
    public class PrimvarReaderExportSample<T> : PrimvarReaderSample<T> where T : struct
    Type Parameters
    Name Description
    T

    Fields

    varname

    Name of the primvar to be written to the primitive as a TfToken.

    Declaration
    [InputParameter("_Varname")]
    public Connectable<TfToken> varname
    Field Value
    Type Description
    Connectable<TfToken>
    Remarks

    In USD 21.11 the varname was switched from a TfToken to a string. However, so that the exported USD fits the USD 20.08 specification, in this package we specify a TfToken type for export.

    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