Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three /src /materials /ShadowMaterial.js
| import { Material } from './Material.js'; | |
| import { Color } from '../math/Color.js'; | |
| class ShadowMaterial extends Material { | |
| constructor( parameters ) { | |
| super(); | |
| this.isShadowMaterial = true; | |
| this.type = 'ShadowMaterial'; | |
| this.color = new Color( 0x000000 ); | |
| this.transparent = true; | |
| this.fog = true; | |
| this.setValues( parameters ); | |
| } | |
| copy( source ) { | |
| super.copy( source ); | |
| this.color.copy( source.color ); | |
| this.fog = source.fog; | |
| return this; | |
| } | |
| } | |
| export { ShadowMaterial }; | |
Xet Storage Details
- Size:
- 513 Bytes
- Xet hash:
- 7cec8435a7b206d5e2c0a6f21149622222119b3cf7c2e614ac77af7ce3659b72
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.