node-ejs-renderer/node_modules/three/examples/jsm/renderers/common/Binding.js
2024-06-09 13:55:01 -04:00

26 lines
265 B
JavaScript

class Binding {
constructor( name = '' ) {
this.name = name;
this.visibility = 0;
}
setVisibility( visibility ) {
this.visibility |= visibility;
}
clone() {
return Object.assign( new this.constructor(), this );
}
}
export default Binding;