Difference between revisions of "0 1 (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{Infobox Logix Node
 
{{Infobox Logix Node
 
|Name=0 1
 
|Name=0 1
|Image=[[File:| |noframe|256px]]
+
|Image =[[File: ZeroOneNode.png | noframe | 128px | '0 1' LogiX node ]]
 
|Input0Type=Bool|Input0Name=Boolean
 
|Input0Type=Bool|Input0Name=Boolean
 
|Output0Type=Float|Output0Name=*
 
|Output0Type=Float|Output0Name=*
Line 21: Line 21:
 
</translate>
 
</translate>
 
[[Category:LogiX{{#translation:}}|0 1]]
 
[[Category:LogiX{{#translation:}}|0 1]]
[[Category:LogiX: Actions{{#translation:}}|0 1]]
+
[[Category:LogiX:Operators{{#translation:}}|0 1]]
{{:NodeMenu-Operators{{#translation:}}}}
+
{{:NodeMenu-Operators}}

Latest revision as of 03:11, 20 February 2022

Other languages:
English • ‎日本語
0 1
'0 1' LogiX node
Inputs
  Bool Boolean
Outputs
  Float *

The 0 1 node can be used to convert a Boolean value to a float.

Usage

For the Boolean input True the output is 1, for False the output is 0.

Examples

This is commonly used to convert a bool to a float for driving blendshapes.

Node Menu

Operators
Back Bool Vectors Nullable Parsing - ! !=
% & ?: ?? ^ | |V|
|V|² + +/- +1 < << ==
> >> × ×dT ÷ ÷dT
° · 0 1 -1 1/x
1-x A^-1 Cross Determinant Distance Filter Invalid Get Type
IsInfinity IsNaN IsNull Mask Matrix Element -n NAND
NOR Normalized NotNull Pack Columns Pack rgba Pack Rows Pack xy
Pack xyz Pack xyzw Project Reflect ROL ROR To String
Transpose Unpack Columns Unpack Rows Unpack xy Unpack xyz Unpack xyzw
XNOR