docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MeshBase<TExtras, TPrimitive>

    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>
    Mesh
    Mesh
    Implements
    ICloneable
    Inherited Members
    MeshBase.weights
    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<TExtras, TPrimitive> : MeshBase, ICloneable where TExtras : MeshExtras where TPrimitive : MeshPrimitiveBase
    Type Parameters
    Name Description
    TExtras

    extras type

    TPrimitive

    Mesh primitive type

    Fields

    extras

    Application-specific data for meshes

    Declaration
    public TExtras extras
    Field Value
    Type Description
    TExtras

    primitives

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

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

    Properties

    Extras

    Application-specific data for meshes

    Declaration
    public override MeshExtras Extras { get; }
    Property Value
    Type Description
    MeshExtras
    Overrides
    MeshBase.Extras

    Primitives

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

    Declaration
    public override IReadOnlyList<MeshPrimitiveBase> Primitives { get; }
    Property Value
    Type Description
    IReadOnlyList<MeshPrimitiveBase>
    Overrides
    MeshBase.Primitives

    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 © 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)