Create, Compete & Win at Redbrick Connect 2024! 🎉

Mesh

A class that defines a polygonal object made up of triangles.

Most objects inside the Studio are made up of Meshes. Because Meshes inherit from Object3D, they can use the properties and functions that exist in THREE.Object3D and THREE.Object3D.Mesh in addition to those described below.

Properties

.geometry

.geometry : BufferGeometry

An instance of BufferGeometry (or derived classes), defining the object’s structure.

.material

.material : Material

An instance of material derived from the Material base class or an array of materials, defining the object’s appearance. Default is a MeshBasicMaterial.