Cesium-Examples/three/examples/jsm/nodes/core/NodeFunction.js

23 lines
330 B
JavaScript
Raw Normal View History

2025-03-11 08:25:45 +00:00
class NodeFunction {
constructor( type, inputs, name = '', presicion = '' ) {
this.type = type;
this.inputs = inputs;
this.name = name;
this.presicion = presicion;
}
getCode( /*name = this.name*/ ) {
console.warn( 'Abstract function.' );
}
}
NodeFunction.isNodeFunction = true;
export default NodeFunction;