[page:Material] →

[name]

The default material used by [page:PointCloud particle] systems.

Constructor

[name]( [page:Object parameters] )

parameters is an object with one or more properties defining the material's appearance.
color — Particle color in hexadecimal. Default is 0xffffff.
map — a [page:Texture texture].If defined, then a point has the data from texture as colors. Default is null.
size — Define size of particles. Default is 1.0.
sizeAttenuation — Enable/disable size attenuation with distance.
vertexColors — Define whether the material uses vertex colors, or not. Default is false.
fog — Define whether the material color is affected by global fog settings. Default is true.

Properties

[property:Number color]

Sets the color of the particles. Default is 0xffffff.

[property:Texture map]

Sets the color of the particles using data from a texture.

[property:Number size]

Sets the size of the particles. Default is 1.0.

[property:Boolean sizeAttenuation]

Specify whether particles' size will get smaller with the distance. Default is true.

[property:Boolean vertexColors]

Define how the vertices gets colored. Possible values are THREE.NoColors, THREE.FaceColors and THREE.VertexColors. Default is THREE.NoColors.
This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:CanvasRenderer Canvas] renderer, but does work with the [page:WebGLRenderer WebGL] renderer.

[property:Boolean fog]

Define whether the material color is affected by global fog settings.
This setting might not have any effect when used with certain renderers. For example, it is ignored with the [page:CanvasRenderer Canvas] renderer, but does work with the [page:WebGLRenderer WebGL] renderer.

Methods

Source

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