Points constructor

Points(
  1. BufferGeometry geometry,
  2. Material? material
)

geometry — (optional) an instance of BufferGeometry. Default is a new BufferGeometry.

Material material — (optional) a Material. Default is a new PointsMaterial.

Implementation

Points(BufferGeometry geometry, Material? material) {
  type = 'Points';

  this.geometry = geometry;
  this.material = material;

  updateMorphTargets();
}