Switch

Selects one of two values based on a boolean condition

basic
Since P00

Input Ports

True Value

True Value input for Switch.

Selected type
False Value

False Value input for Switch.

Selected type

Output Ports

Value

Value output from Switch.

Selected type

Parameters

NameTypeDefaultDescription
Value TypeEnum`Float`Controls the value type setting for Switch.
ConditionBool`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

NameTypeDefaultDescription
Value TypeEnum`Float`Controls the value type setting for Switch.
ConditionBool`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.