Mesh Class

Extends Mesh
Module: Meshes

A Mesh combines a geometry and a material forming a complete rederizable object.

Based on THREE.Mesh documentation for the object can be found at https://threejs.org/docs/index.html#Reference/Objects/Mesh.

Constructor

Mesh

(
  • geometry
  • material
)

Parameters:

  • geometry Geometry

    Geometry used by this mesh

  • material Material

    Material used to shade the superficie of the geometry

Item Index

Methods

Methods

dispose

()

Dispose mesh along with its material and geometry.

Properties

drawMode

Unknown

Determines how the mesh triangles are constructed from the vertices.

Only works when the geometry is a BufferGeometry.

Default: TrianglesDrawMode

geometry

Geometry

Geometry defines the object structure.

material

Material

Material is used to define how the geometry surface is shaded.