PointsMaterial

THREE.PointsMaterial
See thePointsMaterial companion class

Companion object for PointsMaterial with factory methods.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(color: Int | String | Color, size: Double, sizeAttenuation: Boolean, map: Texture, alphaMap: UndefOr[Texture], fog: Boolean): PointsMaterial

Create a PointsMaterial with specified parameters.

Create a PointsMaterial with specified parameters.

Value parameters

alphaMap

The alpha map. Default is null.

color

Color of the points. Default is 0xffffff (white).

fog

Whether the material is affected by fog. Default is true.

map

The texture map. Default is null.

size

Size of the points in pixels. Default is 1.0.

sizeAttenuation

Whether the size is attenuated by the camera depth. Default is true.

Attributes

Returns

A new PointsMaterial instance.