Accueil / npm / three@0.171.0 / examples / jsm / objects / InstancedPoints.js
InstancedPoints.js
import { Mesh, InstancedPointsNodeMaterial } from 'three/webgpu';
import InstancedPointsGeometry from '../geometries/InstancedPointsGeometry.js';
class InstancedPoints extends Mesh {
constructor( geometry = new InstancedPointsGeometry(), material = new InstancedPointsNodeMaterial() ) {
super( geometry, material );
this.isInstancedPoints = true;
this.type = 'InstancedPoints';
}
}
export default InstancedPoints;