Class Mesh
A set of primitives to be rendered. Its global transform is defined by a node that references it.
Inherited Members
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.
Declaration
public MeshPrimitive[] primitives
Field Value
Type | Description |
---|---|
MeshPrimitive[] |
weights
Array of weights to be applied to the Morph Targets.
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 |