Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three /src /materials /MeshDistanceMaterial.js
| import { Material } from './Material.js'; | |
| class MeshDistanceMaterial extends Material { | |
| constructor( parameters ) { | |
| super(); | |
| this.isMeshDistanceMaterial = true; | |
| this.type = 'MeshDistanceMaterial'; | |
| this.map = null; | |
| this.alphaMap = null; | |
| this.displacementMap = null; | |
| this.displacementScale = 1; | |
| this.displacementBias = 0; | |
| this.setValues( parameters ); | |
| } | |
| copy( source ) { | |
| super.copy( source ); | |
| this.map = source.map; | |
| this.alphaMap = source.alphaMap; | |
| this.displacementMap = source.displacementMap; | |
| this.displacementScale = source.displacementScale; | |
| this.displacementBias = source.displacementBias; | |
| return this; | |
| } | |
| } | |
| export { MeshDistanceMaterial }; | |
Xet Storage Details
- Size:
- 699 Bytes
- Xet hash:
- fdd7b6d99d0994237f99ac80865388a8d7d5277832bec2281a58ef9b59fc0bfa
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.