docs.unity.cn
    Show / Hide Table of Contents

    Class PrimvarReaderSample<T>

    The following is based on the Pixar specification found here: https://graphics.pixar.com/usd/docs/UsdPreviewSurface-Proposal.html

    Inheritance
    Object
    SampleBase
    ShaderSample
    PrimvarReaderSample<T>
    PrimvarReaderExportSample<T>
    PrimvarReaderImportSample<T>
    Inherited Members
    ShaderSample.id
    ShaderSample.GetInputParameters()
    ShaderSample.GetInputTextures()
    SampleBase.Free()
    Namespace: USD.NET.Unity
    Syntax
    [Serializable]
    [UsdSchema("Shader")]
    public class PrimvarReaderSample<T> : ShaderSample where T : struct
    Type Parameters
    Name Description
    T

    Constructors

    PrimvarReaderSample()

    Declaration
    public PrimvarReaderSample()

    Fields

    fallback

    Name of the primvar to be read from the primitive.

    Declaration
    [InputParameter("_Fallback")]
    public Connectable<T> fallback
    Field Value
    Type Description
    Connectable<T>

    outputs

    Declaration
    [UsdNamespace("outputs")]
    public PrimvarReaderSample<T>.Outputs outputs
    Field Value
    Type Description
    PrimvarReaderSample.Outputs<>
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023