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.
 
 
 
 
 

28 lines
340 B

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;