docs.unity.cn
    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()
    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 — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023