docs.unity3d.com
    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
    Inherited Members
    NamedObject.name
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Syntax
    [Serializable]
    public class Mesh : NamedObject, ICloneable

    Fields

    extras

    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
    Single[]

    Methods

    Clone()

    Clones the Mesh object

    Declaration
    public object Clone()
    Returns
    Type Description
    Object

    Member-wise clone

    Implements
    ICloneable.Clone()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023