Skip to content
On this page

Class: Mesh

WebSG.Mesh

The Mesh class represents a 3D object with one or more mesh primitives.

Table of contents

Constructors

Properties

Constructors

constructor

new Mesh()

Properties

primitives

Readonly primitives: MeshPrimitive[]

An array of MeshPrimitive instances that define the geometry of the mesh.

Defined in

websg.d.ts:617