Conditional Nodes - Lunazera/VNyanDoc GitHub Wiki
Chooses output socket based on Blendshape Clip value.
- Blendshape Name - Name of the Blendshape Clip
- Value - Value or [parameter] to set the blendshape to.
Chooses output socket based on comparison with numeric parameter value against another value. If the parameter is greater than the value, the first socket is chosen. If the parameter is equal to the value, the second socket is chosen. If the parameter is lesser than the value, the third socket is chosen.
- Parameter name - Name of the numeric parameter
- Value - Value or [parameter] to compare a
Compares text or parameter values and chooses one of two output sockets based on whether comparison is true or false.
- Operation - Whether to check if the first value equals the second value, or if the first value contains the second value. Can also set whether the comparison is case-sensitive or case-insensitive
- Text Value - Text or <text parameter> input
- Compare Value - Text or <text parameter> input to compare to first Text value
Compares two values to a comparison according to a logic operation and chooses one of two output sockets based on whether the operation is true or false. Can take either values or text.
There are two comparisons made by this node. First, it checks if Value 1 equals the Comparison Value using the set Operation. Next, it checks if Value 2 equals the Comparison Value. The results of those two comparisons are combined according to the Operation.
- Value 1 - First value, [parameter], or <text parameter> input
- Value 2 - Second value, [parameter], or <text parameter> input
- Comparison Value - Value to compare against both Values 1 and 2.
- Operation - Set the logic operation. Options include AND, OR, XOR, NAND, NOR, and XNOR.
- Case Insensitive - Toggle to use case insensitive comparison
Example
With settings 5, 2, 5, and AND, the Logic Filter node would output False. With settings 5, 2, 5, and OR, the Logic Filter node would output true.
Chooses output socket based on volume of specific input device. If volume is greater than or equal to the Volume value, then first output is chosen. Otherwise, second output is chosen.
If you want to the input to be music then you should use a virtual audio cable, like VB Audio Cable or similar, to route the music as it's own device. (note that swapping default audio devices in Windows while VNyan is running will break audio processing)
- Audio Input - Input device to monitor
- Frequencies - Which frequencies to monitor. Options include All, Low, Mid, and High.
- Volume - Value between 0 and 100 to check against the input's volume. Can be a number or [parameter].
- Current Volume - Displays current volume.
Chooses output socket based on current heart rate. If heartrate is greater than or equal to the Heart Rate value, then first output is chosen. Otherwise, second output is chosen.
To use this node make sure to connect Pulsoid.
- Heart Rate - Value to check against the heart rate. Can be a number or [parameter].
- Current HR - Displays current heart rate.
Builtin Parameters
- [heartrate] contains current heart rate
- [heartpercent] percentage (0.0-1.0) of heart rate between 30-300
Chooses output socket based on whether the specified hotkey is pressed or not at the time when the node is triggered. If pressed, then the first output is chosen. If not, then the second output is chosen.
- Set Hotkey - Choose your specified hotkey by pressing the button and inputting the key on your keyboard. Accepts most keyboard inputs except for TAB, Caps Lock, or punctuations like the semi-colon, period, etc. CTRL, ALT and SHIFT can be used as modifiers with other keys.
Chooses output socket based on whether the specified gamepad button is pressed or not. If a gamepad is connected to your computer, this should pick up immediately.
- Button - Dropdown with each button input.
If you want to read joystick direction input, there are built-in parameters that will be available once a controller is connected.
- Right Joystick - _gamepadrightx, _gamepadrighty
- Left Joystick - _gamepadleftx, _gamepadlefty
Node for randomly splitting output between 2 sockets
Node for randomly splitting output between 10 sockets
Checks if Text Array contains item with specified case-sensitive text value. If the Text Array contains the value, then the first output is chosen. Otherwise, the second output is chosen.
- Text Array Name - Name of the array to check
- Value - Text or <text parameter> input value (case-sensitive)
Executes all output sockets in order from top to bottom.
Usually when connecting multiple wires to a single output socket, the order of execution is based on the order that the wires were created, and can change during VNyan's startup. With Ordered Execution you can specify the order to be sure it remains the same.
Splitter that advances to next socket after execution. Empty sockets are skipped.
Waits specific milliseconds before continuing execution of output nodes. Will not stop parent node's other child nodes from execution
- Wait milliseconds - Wait time in milliseconds. Number of [parameter]
Message box for documentation within graphs.
The node supports Rich Text editing so it's possible to enter markup inside angle brackets. Supports italics, bold, size, and color.
Note that the markup will disappear once it's active, but it is still present. To remove the tag, put the cursor near the beginning of the text and press backspace, and put the cursor near the end of the text and press delete.
- bold - <b>message</b>
- italics - <i>message</i>
- size - <size=20>message<size>
- color - <color=red>message<color>
- The color tag accepts the name of a common color or color hex.