docs.unity3d.com
    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()
    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 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
    • 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