@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
26 lines (25 loc) • 698 B
JavaScript
;
import { TypedPostNode } from "./_Base";
import { NodeParamsConfig } from "../utils/params/ParamsConfig";
class SequencePostParamsConfig extends NodeParamsConfig {
}
const ParamsConfig = new SequencePostParamsConfig();
export class SequencePostNode extends TypedPostNode {
constructor() {
super(...arguments);
this.paramsConfig = ParamsConfig;
}
static type() {
return "sequence";
}
initializeNode() {
super.initializeNode();
this.io.inputs.setCount(0, 4);
}
setupComposer(context) {
this._addPassFromInput(0, context);
this._addPassFromInput(1, context);
this._addPassFromInput(2, context);
this._addPassFromInput(3, context);
}
}