Difference between revisions of "0 1 (LogiX node)"
Jump to navigation
Jump to search
(Created page with "the node "0 1" will give a 1 or 0 on the output based on a Bool input. so FALSE is 0 and TRUE is 1") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <languages></languages> | |
+ | <translate> | ||
+ | <!--T:1--> | ||
+ | {{Infobox Logix Node | ||
+ | |Name=0 1 | ||
+ | |Image =[[File: ZeroOneNode.png | noframe | 128px | '0 1' LogiX node ]] | ||
+ | |Input0Type=Bool|Input0Name=Boolean | ||
+ | |Output0Type=Float|Output0Name=* | ||
+ | }} | ||
− | + | <!--T:2--> | |
− | + | The '''0 1''' node can be used to convert a Boolean value to a float. | |
+ | |||
+ | == Usage == <!--T:3--> | ||
+ | For the Boolean input True the output is 1, for False the output is 0. | ||
+ | |||
+ | == Examples == <!--T:4--> | ||
+ | This is commonly used to convert a bool to a float for driving blendshapes. | ||
+ | |||
+ | == Node Menu == <!--T:5--> | ||
+ | </translate> | ||
+ | [[Category:LogiX{{#translation:}}|0 1]] | ||
+ | [[Category:LogiX:Operators{{#translation:}}|0 1]] | ||
+ | {{:NodeMenu-Operators}} |
Latest revision as of 03:11, 20 February 2022
0 1 | ||
---|---|---|
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.