Class Mesh
A set of primitives to be rendered. Its global transform is defined by a node that references it.
Implements
Inherited Members
Namespace: GLTFast.Schema
Assembly: glTFast.dll
Syntax
[Serializable]
public class Mesh : NamedObject, ICloneable
Fields
extras
Mesh specific extra data.
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 |
|---|---|
| float[] |
Methods
Clone()
Clones the Mesh object
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| object | Member-wise clone |