[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:PointsMaterial] with randomised colour.

Methods

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

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

[method:Points clone]()

Returns a clone of this Points object and its descendants.

Source

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