[page:Object3D] →

# [name]

A class for displaying points. The points are rendered by the [page:WebGLRenderer] using [link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/drawElements gl.POINTS].

## Constructor

### [name]( [param:Geometry geometry], [param:Material material] )

[page:Geometry geometry] — (optional) an instance of [page:Geometry] or [page:BufferGeometry]. Default is a new [page:BufferGeometry].
[page:Material material] — (optional) a [page:Material]. Default is a new [page:PointsMaterial] with a random color.

## Properties

See the base [page:Object3D] class for common properties.

### [property:Geometry geometry]

An instance of [page:Geometry] or [page:BufferGeometry] (or derived classes), defining the object's structure.
Its recommended to always use a [page:BufferGeometry] if possible for best performance.

### [property:Boolean isPoints]

Used to check whether this or derived classes are points. Default is *true*.
You should not change this, as it used internally for optimisation.

### [property:Material material]

An instance of [page:Material], defining the object's appearance. Default is a [page:PointsMaterial] with a random color.

### [property:Array morphTargetInfluences]

An array of weights typically from 0-1 that specify how much of the morph is applied. Undefined by default, but reset to a blank array by [page:Points.updateMorphTargets updateMorphTargets].

### [property:Object morphTargetDictionary]

A dictionary of morphTargets based on the morphTarget.name property. Undefined by default, but rebuilt [page:Points.updateMorphTargets updateMorphTargets].

## Methods

See the base [page:Object3D] class for common methods.

### [method:null raycast]( [param:Raycaster raycaster], [param: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.

### [method:null updateMorphTargets]()

Updates the morphTargets to have no influence on the object. Resets the [page:Points.morphTargetInfluences morphTargetInfluences] and [page:Points.morphTargetDictionary morphTargetDictionary] properties.

## Source

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