[page:Object3D] →

[name]

A class for displaying particles in the form of variable size points. For example, if using the [page:WebGLRenderer], the particles are displayed using GL_POINTS.

Constructor

[name]( [page:Geometry geometry], [page:Material material] )

geometry — An instance of [page:Geometry].
material — An instance of [page:Material] (optional).

Properties

[property:Geometry geometry]

An instance of [page:Geometry], where each vertex designates the position of a particle in the system.

[property:Material material]

An instance of [page:Material], defining the object's appearance. Default is a [page:PointCloudMaterial] with randomised colour.

Methods

[method:PointCloud clone]()

This creates a clone of the particle system.

[method:Array raycast]([page:Raycaster raycaster], [page:Array intersects])

Get intersections between a casted ray and this PointCloud. [page:Raycaster.intersectObject] will call this method.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]