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: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
    public class Mesh : NamedObject, ICloneable

    Properties

    AdditionalProperties

    Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.

    Declaration
    [JsonIgnore]
    public ReadOnlyProperties AdditionalProperties { get; }
    Property Value
    Type Description
    ReadOnlyProperties

    Extensions

    JSON object with extension-specific objects.

    Declaration
    [JsonPropertyName("extensions")]
    public MeshExtensions Extensions { get; set; }
    Property Value
    Type Description
    MeshExtensions
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-extension

    Extras

    Application-specific data for meshes

    Declaration
    [JsonPropertyName("extras")]
    [JsonConverter(typeof(MeshExtrasConverter))]
    public MeshExtras Extras { get; set; }
    Property Value
    Type Description
    MeshExtras

    Primitives

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

    Declaration
    [JsonPropertyName("primitives")]
    public List<MeshPrimitive> Primitives { get; set; }
    Property Value
    Type Description
    List<MeshPrimitive>

    Weights

    Array of weights to be applied to the Morph Targets.

    Declaration
    [JsonPropertyName("weights")]
    [JsonConverter(typeof(FloatListConverter))]
    public List<float> Weights { get; set; }
    Property Value
    Type Description
    List<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)