Skip to content

⬅️ Back to Table of Contents

📄 LightingNode.js

📊 Analysis Summary

Metric Count
🧱 Classes 1
📦 Imports 1

📚 Table of Contents

🛠️ File Location:

📂 src/nodes/lighting/LightingNode.js

📦 Imports

Name Source
Node ../core/Node.js

Classes

LightingNode

Class Code
class LightingNode extends Node {

    static get type() {

        return 'LightingNode';

    }

    /**
     * Constructs a new lighting node.
     */
    constructor() {

        super( 'vec3' );

        /**
         * This flag can be used for type testing.
         *
         * @type {boolean}
         * @readonly
         * @default true
         */
        this.isLightingNode = true;

    }

}