Generated with
Copyright (c) 2022-2025, Olivier NOUGUIER
Copyright (c) 2022-2025, Olivier NOUGUIER
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
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.