ProtoFlux:Mask: Difference between revisions

From Resonite Wiki
Stub
 
Filled in this node page.
 
Line 14: Line 14:
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Mask''' node takes in 2 values and is controlled by the <code>mask</code> input. This mask input can can be either a [[Type:bool2|bool2]], [[Type:bool3|bool3]], or [[Type:bool4|bool4]]. Depending what values are provided in the mask will then determine what values get used, which can be mixed and matched by the <code>mask</code>.
 
{{Note|This is similar to the [[ProtoFlux:Conditional|Conditional]], except this node allows for parts of the value to pass through and blocking others within a value.|information}}
 
== 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 [[Type:bool2|bool2]], [[Type:bool3|bool3]], and [[Type:bool4|bool4]] that can allow parts of either value to pass through into the output.
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
 
The end result of the masked input.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]

Latest revision as of 13:55, 27 June 2024

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.