| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /**
- * @author mrdoob / http://mrdoob.com/
- *
- * parameters = {
- * opacity: <float>,
- *
- * wireframe: <boolean>,
- * wireframeLinewidth: <float>
- * }
- */
- THREE.MeshNormalMaterial = function ( parameters ) {
- THREE.Material.call( this, parameters );
- this.type = 'MeshNormalMaterial';
- this.wireframe = false;
- this.wireframeLinewidth = 1;
- this.fog = false;
- this.lights = false;
- 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;
- };
|