UNPKG

three

Version:

JavaScript 3D library

40 lines (21 loc) 387 B
class NodeUniform { constructor( name, type, node ) { this.isNodeUniform = true; this.name = name; this.type = type; this.node = node.getSelf(); } get value() { return this.node.value; } set value( val ) { this.node.value = val; } get id() { return this.node.id; } get groupNode() { return this.node.groupNode; } } export default NodeUniform;