A set of primitives to be rendered. A node can contain one mesh. A node's transform places the mesh in the scene

interface IMesh {
    extensions?: Record<string, unknown>;
    extras?: Record<string, unknown>;
    name?: string;
    primitives: IMeshPrimitive[];
    weights?: number[];
}

Hierarchy (view full)

Properties

extensions?: Record<string, unknown>

Dictionary object with extension-specific objects

extras?: Record<string, unknown>

Application-Specific data

name?: string

The user-defined name of this object

primitives: IMeshPrimitive[]

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

weights?: number[]

Array of weights to be applied to the Morph Targets