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