Fallback

Passes its input on, or a fallback while the input carries nothing.

Outputs

NameTypeDescription
Output[Data Type]The input while it carries something, otherwise the fallback.

Inputs

NameTypeDescription
Input[Data Type]What is passed on while it carries something.
Fallback[Data Type]What is passed on instead while the input carries nothing.

Parameters

NameTypeDescription
Data TypeEnumWhat the inputs and the output carry, chosen from all data types ZigZag knows. Changing it removes the connections of the inputs and the output.
Using FallbackoutputBoolWhether the fallback is being passed on right now.

The Fallback operator stands in for a source that may be missing. Use it to show a still image while a camera is unplugged, or a color while a file has not loaded yet.

An input carries nothing when nothing is connected to it, or when the operator before it produces nothing. Using Fallback can drive other operators, such as a Gate that hides part of a scene until the source is back.

See also Switch, Gate.

Keywords: default, backup, missing, empty, substitute, placeholder