docs.unity3d.com
    Show / Hide Table of Contents

    Class MeshSampleBase

    Inheritance
    Object
    SampleBase
    ImageableSample
    XformableSample
    BoundableSample
    GprimSample
    PointBasedSample
    MeshSampleBase
    MeshSample
    Inherited Members
    GprimSample.colors
    BoundableSample.extent
    XformableSample.FromTransform(Transform)
    XformableSample.transform
    XformableSample.xformOpOrder
    XformableSample.ConvertTransform()
    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("Mesh")]
    public class MeshSampleBase : PointBasedSample, IArbitraryPrimvars

    Constructors

    MeshSampleBase()

    Declaration
    public MeshSampleBase()

    Fields

    ArbitraryPrimvars

    Declaration
    [ForceNoNamespace]
    public Dictionary<string, Primvar<object>> ArbitraryPrimvars
    Field Value
    Type Description
    Dictionary<String, Primvar<Object>>

    faceVertexIndices

    Declaration
    public int[] faceVertexIndices
    Field Value
    Type Description
    Int32[]

    normals

    Declaration
    public Vector3[] normals
    Field Value
    Type Description
    Vector3[]

    points

    Declaration
    public Vector3[] points
    Field Value
    Type Description
    Vector3[]

    tangents

    Declaration
    public Primvar<Vector4[]> tangents
    Field Value
    Type Description
    Primvar<Vector4[]>

    Methods

    AddPrimvars(List<String>)

    Declaration
    public void AddPrimvars(List<string> primvars)
    Parameters
    Type Name Description
    List<String> primvars
    Implements
    IArbitraryPrimvars.AddPrimvars(List<String>)

    GetArbitraryPrimvars()

    Declaration
    public Dictionary<string, Primvar<object>> GetArbitraryPrimvars()
    Returns
    Type Description
    Dictionary<String, Primvar<Object>>
    Implements
    IArbitraryPrimvars.GetArbitraryPrimvars()
    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