MaterialEditor.js 243 B

1234567891011121314151617
  1. import { BaseNodeEditor } from '../BaseNodeEditor.js';
  2. export class MaterialEditor extends BaseNodeEditor {
  3. constructor( name, material, width = 300 ) {
  4. super( name, material, width );
  5. }
  6. get material() {
  7. return this.value;
  8. }
  9. }