UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

24 lines (23 loc) 859 B
/** * outputs 1 of the 2 inputs based on a boolean input * * * */ import { JsConnectionPointType } from '../utils/io/connections/Js'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; import { ParamlessTypedJsNode } from './_Base'; export declare enum TwoWaySwitchJsNodeInputName { CONDITION = "condition", IF_TRUE = "ifTrue", IF_FALSE = "ifFalse" } export declare class TwoWaySwitchJsNode extends ParamlessTypedJsNode { static type(): string; initializeNode(): void; protected _expectedInputName(index: number): TwoWaySwitchJsNodeInputName; protected _expectedOutputName(): string; protected _expectedInputTypes(): JsConnectionPointType[]; protected _expectedOutputTypes(): JsConnectionPointType[]; setLines(shadersCollectionController: JsLinesCollectionController): void; }