docs.unity3d.com
    Show / Hide Table of Contents

    Class MeshSample

    Inheritance
    Object
    SampleBase
    ImageableSample
    XformableSample
    BoundableSample
    GprimSample
    PointBasedSample
    MeshSampleBase
    MeshSample
    SanitizedMeshSample
    Inherited Members
    MeshSampleBase.faceVertexIndices
    MeshSampleBase.points
    MeshSampleBase.normals
    MeshSampleBase.tangents
    MeshSampleBase.ArbitraryPrimvars
    MeshSampleBase.GetArbitraryPrimvars()
    MeshSampleBase.AddPrimvars(List<String>)
    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 MeshSample : MeshSampleBase, IArbitraryPrimvars

    Fields

    doubleSided

    Declaration
    [UsdVariability(Variability.Uniform)]
    public bool doubleSided
    Field Value
    Type Description
    Boolean

    faceVertexCounts

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

    orientation

    Declaration
    [UsdVariability(Variability.Uniform)]
    public Orientation orientation
    Field Value
    Type Description
    Orientation

    purpose

    Declaration
    [UsdVariability(Variability.Uniform)]
    public Purpose purpose
    Field Value
    Type Description
    Purpose

    visibility

    Declaration
    public Visibility visibility
    Field Value
    Type Description
    Visibility

    Methods

    SetTriangles(Int32[])

    Sets the faceVertexIndices and faceVertexCounts from triangle indices alone.

    Declaration
    public void SetTriangles(int[] triangleIndices)
    Parameters
    Type Name Description
    Int32[] triangleIndices
    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