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