docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Mesh

    A set of primitives to be rendered. Its global transform is defined by a node that references it.

    Inheritance
    object
    NamedObject
    Mesh
    Implements
    ICloneable
    Inherited Members
    NamedObject.name
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GLTFast.Schema
    Assembly: glTFast.dll
    Syntax
    [Serializable]
    public class Mesh : NamedObject, ICloneable

    Fields

    extras

    Mesh specific extra data.

    Declaration
    public MeshExtras extras
    Field Value
    Type Description
    MeshExtras

    primitives

    An array of primitives, each defining geometry to be rendered with a material. 1

    Declaration
    public MeshPrimitive[] primitives
    Field Value
    Type Description
    MeshPrimitive[]

    weights

    Array of weights to be applied to the Morph Targets. 0

    Declaration
    public float[] weights
    Field Value
    Type Description
    float[]

    Methods

    Clone()

    Clones the Mesh object

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    Member-wise clone

    Implements

    ICloneable
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)