You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
340 B

2 years ago
class NodeUniform {
constructor( name, type, node, needsUpdate = undefined ) {
this.isNodeUniform = true;
this.name = name;
this.type = type;
this.node = node;
this.needsUpdate = needsUpdate;
}
get value() {
return this.node.value;
}
set value( val ) {
this.node.value = val;
}
}
export default NodeUniform;