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