Switch
Selects one of two values based on a boolean condition
basic
Since P00
Input Ports
True Value
True Value input for Switch.
False Value
False Value input for Switch.
Output Ports
Value
Value output from Switch.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Value Type | Enum | `Float` | Controls the value type setting for Switch. |
| Condition | Bool | `false` | Controls the condition setting for Switch. |
Overview
Selects one of two values based on a boolean condition
Inputs and Outputs
Input Ports
- True Value
Selected type: True Value input for Switch. - False Value
Selected type: False Value input for Switch.
Output Ports
- Value
Selected type: Value output from Switch.
Key Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| Value Type | Enum | `Float` | Controls the value type setting for Switch. |
| Condition | Bool | `false` | Controls the condition setting for Switch. |
When to Use
Use Switch when you need this operation to remain explicit, reusable, and easy to tune inside a PixPipeline node graph.
Notes
Connect compatible data types and preview the result while tuning this node. Parameter names and port names follow the PixPipeline UI.