three
Version:
JavaScript 3D library
29 lines (15 loc) • 531 B
JavaScript
import NodeMaterial, { addNodeMaterial } from './NodeMaterial.js';
import { LineBasicMaterial } from 'three';
const defaultValues = new LineBasicMaterial();
class LineBasicNodeMaterial extends NodeMaterial {
constructor( parameters ) {
super();
this.isLineBasicNodeMaterial = true;
this.lights = false;
this.normals = false;
this.setDefaultValues( defaultValues );
this.setValues( parameters );
}
}
export default LineBasicNodeMaterial;
addNodeMaterial( 'LineBasicNodeMaterial', LineBasicNodeMaterial );