Mesh constructor

Mesh(
  1. BufferGeometry? geometry,
  2. dynamic material
)

Implementation

Mesh(BufferGeometry? geometry, material) : super() {
  this.geometry = geometry ?? BufferGeometry();
  this.material = material;
  type = "Mesh";
  updateMorphTargets();
}