Skip to content

PointsMaterial

new PointsMaterial({ color?, size?, map?, layer?, opacity?, transparent?, depthTest?, depthWrite? })

THREE equivalent: THREE.PointsMaterial

Material for Points objects. Each vertex is rasterized as a filled square of the given pixel size.

Name Type Description
color Color Point color. Default 0xffffff.
size number Point size in pixels. Default 1.
map Texture|undefined Optional texture applied per point.