Skip to content

Mesh

new Mesh(geometry?, material?)

THREE equivalent: THREE.Mesh

Scene-graph node that pairs a Geometry with a Material for rasterization. The renderer only draws visible Meshes with both properties set.

Name Type Description
geometry Geometry|undefined Vertex data to rasterize.
material Material|undefined Shading parameters.
Method Description
clone(): Mesh Returns a shallow copy sharing the same geometry and material references.