ProtoFlux:Mask

From Resonite Wiki
Mask
OnTrue
*
OnFalse
Mask
Operators

The Mask node takes in 2 values and is controlled by the mask input. This mask input can can be either a bool2, bool3, or bool4. Depending what values are provided in the mask will then determine what values get used, which can be mixed and matched by the mask.

This is similar to the Conditional, except this node allows for parts of the value to pass through and blocking others within a value.

Inputs

OnTrue (Pseudo-Generic)

The true value provided to be masked.

OnFalse (Pseudo-Generic)

The false value provided to be masked.

Mask (Pseudo-Generic)

A bool2, bool3, and bool4 that can allow parts of either value to pass through into the output.

Outputs

* (Pseudo-Generic)

The end result of the masked input.