@openhps/core
Version:
Open Hybrid Positioning System - Core component
29 lines (26 loc) • 472 B
JavaScript
import Node from '../core/Node.js';
/**
* Base class for lighting nodes.
*
* @augments Node
*/
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;
}
}
export default LightingNode;