docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MeshBase

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

    Inheritance
    object
    NamedObject
    MeshBase
    MeshBase<TExtras, TPrimitive>
    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
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class MeshBase : NamedObject

    Fields

    weights

    Array of weights to be applied to the Morph Targets.

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

    Properties

    Extras

    Application-specific data for meshes

    Declaration
    public abstract MeshExtras Extras { get; }
    Property Value
    Type Description
    MeshExtras

    Primitives

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

    Declaration
    public abstract IReadOnlyList<MeshPrimitiveBase> Primitives { get; }
    Property Value
    Type Description
    IReadOnlyList<MeshPrimitiveBase>
    In This Article
    Back to top
    Copyright © 2024 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)