Class FlowGraphDataSwitchBlock<T>
Type Parameters
- T
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FlowGraphDataSwitchBlock
Index
Constructors
constructor
-
new FlowGraphDataSwitchBlock<T>(
config: IFlowGraphDataSwitchBlockConfiguration<T>,
): FlowGraphDataSwitchBlock<T>Type Parameters
- T
Parameters
- config: IFlowGraphDataSwitchBlockConfiguration<T>
the configuration of the block
Returns FlowGraphDataSwitchBlock<T>
This block conditionally outputs one of its inputs, based on a condition and a list of cases.
This of it as a passive (data) version of the switch statement in programming languages.