12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /**
- * @author mrdoob / http://mrdoob.com/
- *
- * parameters = {
- * opacity: <float>,
- *
- * blending: THREE.NormalBlending,
- * depthTest: <bool>,
- * depthWrite: <bool>,
- *
- * wireframe: <boolean>,
- * wireframeLinewidth: <float>
- * }
- */
- THREE.MeshNormalMaterial = function ( parameters ) {
- THREE.Material.call( this, parameters );
- this.type = 'MeshNormalMaterial';
- this.wireframe = false;
- this.wireframeLinewidth = 1;
- this.morphTargets = false;
- this.setValues( parameters );
- };
- THREE.MeshNormalMaterial.prototype = Object.create( THREE.Material.prototype );
- THREE.MeshNormalMaterial.prototype.constructor = THREE.MeshNormalMaterial;
- THREE.MeshNormalMaterial.prototype.copy = function ( source ) {
- THREE.Material.prototype.copy.call( this, source );
- this.wireframe = source.wireframe;
- this.wireframeLinewidth = source.wireframeLinewidth;
- return this;
- };
|