Skip to content
On this page

Interface: MeshProps

WebSG.MeshProps

MeshProps is an interface for defining properties of a mesh.

Table of contents

Properties

Properties

name

Optional name: string

The name of the mesh.

Defined in

websg.d.ts:585


primitives

primitives: MeshPrimitiveProps[]

An array of MeshPrimitiveProps that define the geometry and materials of the mesh.

Defined in

websg.d.ts:589