ProtoFlux:Mask

From Resonite Wiki
Revision as of 13:55, 27 June 2024 by AmasterAmaster (talk | contribs) (Filled in this node page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.