Update page to use the node template |
m gallery with missing photo for later |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
This node can cause lag / low performance if used excessively. Mostly you should try to avoid using it. | This node can cause lag / low performance if used excessively. Mostly you should try to avoid using it. | ||
Use the Value variant of the node for Value Types such as Int, Bool, Float. | |||
Use the Object variant of the node for Object Types such as Slot, User, String. | |||
== Inputs == | == Inputs == | ||
=== Input ( | === Input (Generic) === | ||
I am an input that can be of any type. | I am an input that can be of any type. | ||
<br>Example inputs: [[Type: | <br>Example inputs: [[Type:Bool|Bool]], [[Type:Int|Int]], [[Type:Slot|Slot]] | ||
== Outputs == | == Outputs == | ||
=== * ( | === * (Generic) === | ||
I am an output that evaluates continuously! | I am an output that evaluates continuously! | ||
Line 34: | Line 38: | ||
== Examples == | == Examples == | ||
<gallery widths=480px heights=480px> | |||
File:Protoflux_example_Continuously_Changing_Relay.webp|Example of how to use a Continuously Changing Relay to make sure a value stays up to date where it usually wouldn't, with a short comment on it explaining why. | |||
</gallery> | |||
[[Category:ProtoFlux:Utility]] | [[Category:ProtoFlux:Utility]] |
Latest revision as of 19:13, 11 February 2024
Continuous Relay
Utility
This is a value/object passthrough node that is marked with the ContinuouslyChanging attribute, which means that the output of this node will be evaluated every engine update cycle, which roughly equivalates to every frame.
This node can cause lag / low performance if used excessively. Mostly you should try to avoid using it.
Use the Value variant of the node for Value Types such as Int, Bool, Float.
Use the Object variant of the node for Object Types such as Slot, User, String.
Inputs
Input (Generic)
I am an input that can be of any type.
Example inputs: Bool, Int, Slot
Outputs
* (Generic)
I am an output that evaluates continuously!
Examples
-
Example of how to use a Continuously Changing Relay to make sure a value stays up to date where it usually wouldn't, with a short comment on it explaining why.