Capítulo 88 de 859
Node material version of PointsMaterial.
This material can be used in two ways:
1, it's not possible to define a size.const pointCloud = new THREE.Points( geometry, new THREE.PointsNodeMaterial() );
const instancedPoints = new THREE.Sprite( new THREE.PointsNodeMaterial( { positionNode: instancedBufferAttribute( positionAttribute ) } ) );
Constructor
| Signature |
|---|
new PointsNodeMaterial( parameters : Object ) |
Properties
| Property | Description |
|---|---|
.alphaToCoverage : boolean | Whether alpha to coverage should be used or not. |
.isPointsNodeMaterial : boolean (readonly) | This flag can be used for type testing. |
.sizeNode : Node.<vec2> | This node property provides an additional way to set the point size. |