Skip to content

⬅️ Back to Table of Contents

📄 MaterialEditor.js

📊 Analysis Summary

Metric Count
🧱 Classes 1
📦 Imports 1

📚 Table of Contents

🛠️ File Location:

📂 playground/editors/MaterialEditor.js

📦 Imports

Name Source
BaseNodeEditor ../BaseNodeEditor.js

Classes

MaterialEditor

Class Code
export class MaterialEditor extends BaseNodeEditor {

    constructor( name, material, width = 300 ) {

        super( name, material, width );

    }

    get material() {

        return this.value;

    }

}