ProtoFlux:Data Model Boolean Toggle: Difference between revisions

From Resonite Wiki
m oops they were wrong
m add node UI
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
|Name=Boolean Latch
|Category=Flow
|Inputs=
[
{"Name":"Set", "Type":"Impulse"},
{"Name":"Reset", "Type":"Impulse"},
{"Name":"Toggle", "Type":"Impulse"}
]
|Outputs=
[
{"Name":"Set", "Type":"Impulse"},
{"Name":"Reset", "Type":"Impulse"},
{"Name":"*", "Type":"bool"}
]
|}}
The '''Data Model Boolean Toggle''' or '''Boolean Latch''' is a node that can be pulsed to toggle a Data Model Boolean between true and false.
The '''Data Model Boolean Toggle''' or '''Boolean Latch''' is a node that can be pulsed to toggle a Data Model Boolean between true and false.



Revision as of 05:39, 14 January 2024

Boolean Latch
Set
Set
Reset
Reset
Toggle
*
Flow


The Data Model Boolean Toggle or Boolean Latch is a node that can be pulsed to toggle a Data Model Boolean between true and false.

Inputs

Set (ISyncOperation)

Set the state to True.

Reset (ISyncOperation)

Set the state to False.

Toggle (ISyncOperation)

Toggle the state to the opposite state.

Outputs

OnSet (Continuation)

Fires when Set is pulsed.

OnReset (Continuation)

Fires when False is pulsed.

* (bool)

The current state.