Mesh
A triangular polygon mesh. Combines a BufferGeometry with a Material.
Extends Object3D.
Constructor
const mesh = new Mesh(geometry?, material?)
// defaults: new BufferGeometry(), new Material()
Properties
isMesh— Type flag (true)geometry— BufferGeometrymaterial— Material or Array<Material>count— Instance count (for WebGPU instancing, default1)boundingBoxWorld- world bounding box, used for culling, raycasting.
Methods
copy(source, recursive?)— Copy mesh data