Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three /src /materials /PointsMaterial.js
| import { Material } from './Material.js'; | |
| import { Color } from '../math/Color.js'; | |
| class PointsMaterial extends Material { | |
| constructor( parameters ) { | |
| super(); | |
| this.isPointsMaterial = true; | |
| this.type = 'PointsMaterial'; | |
| this.color = new Color( 0xffffff ); | |
| this.map = null; | |
| this.alphaMap = null; | |
| this.size = 1; | |
| this.sizeAttenuation = true; | |
| this.fog = true; | |
| this.setValues( parameters ); | |
| } | |
| copy( source ) { | |
| super.copy( source ); | |
| this.color.copy( source.color ); | |
| this.map = source.map; | |
| this.alphaMap = source.alphaMap; | |
| this.size = source.size; | |
| this.sizeAttenuation = source.sizeAttenuation; | |
| this.fog = source.fog; | |
| return this; | |
| } | |
| } | |
| export { PointsMaterial }; | |
Xet Storage Details
- Size:
- 719 Bytes
- Xet hash:
- 64b2421982655a656d0128e4b4e7cb40737950f58ea8984b0601cc25ea0f28bc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.