aframe-point-component
A point component for A-Frame. Creates a THREE.Points object. Points remain a point no matter the distance.
API
Property | Description | Default Value |
---|---|---|
size | size of rendered point (length of rectangle edge) | 1 |
color | color definition, like in CSS | #888 |
perspective | boolean - should it scale with distance or not | false |
Custom Methods
setPoints(array of arrays3)
- replace single point geometry with multiple points in one a-point instance
example
elementcomponentspoint
Installation
npm install aframe-point
Browser
Install and use by directly including the browser files:
My A-Frame Scene OR
npm
Install via npm:
npm install aframe-point
Then require and use.
;;