MaterialEditor.js 233 B

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