m ProbablePrime moved page Continuously Changing Relay (ProtoFlux) to ProtoFlux:Continuously Changing Relay: Creating protoflux Namespace |
m links |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
|}} | |}} | ||
The '''Continuously Changing Relay''' node is a utility node marked with the [[ContinuouslyChanging]] attribute. This causes the entire node group that the node is connected to be evaluated every [[engine update]] when paired with a [[Type:IExecutionChangeListener|listener]] node, such as a [[drive]] or [[ProtoFlux:Display|display]]. | |||
This node can | This node is unnecessary for most use cases, but it can still find usefulness when working with [[ProtoFlux:Store|stores]], which do not propagate change signals due to existing outside the [[FrooxEngine]] [[data model]]. Additionally, non-ContinuouslyChanging nodes that can have their outputs change without any change in inputs (such as a [[ProtoFlux:Find Child By Name|Find Child By Name]] node) can benefit from this relay if the output is needed to drive something that otherwise isn't part of a ContinuousChanges node group. | ||
== Inputs == | == Inputs == | ||
Line 27: | Line 23: | ||
=== Input (Generic) === | === Input (Generic) === | ||
The output of a previous node that should be continuously polled every engine update. | |||
== Outputs == | == Outputs == | ||
Line 34: | Line 29: | ||
=== * (Generic) === | === * (Generic) === | ||
The same output, yet continuously changing for future listeners to utilize. | |||
== Examples == | == Examples == | ||
[[Category:ProtoFlux:Utility]] | [[Category:ProtoFlux:Utility]] |
Revision as of 15:24, 9 April 2025
The Continuously Changing Relay node is a utility node marked with the ContinuouslyChanging attribute. This causes the entire node group that the node is connected to be evaluated every engine update when paired with a listener node, such as a drive or display.
This node is unnecessary for most use cases, but it can still find usefulness when working with stores, which do not propagate change signals due to existing outside the FrooxEngine data model. Additionally, non-ContinuouslyChanging nodes that can have their outputs change without any change in inputs (such as a Find Child By Name node) can benefit from this relay if the output is needed to drive something that otherwise isn't part of a ContinuousChanges node group.
Inputs
Input (Generic)
The output of a previous node that should be continuously polled every engine update.
Outputs
* (Generic)
The same output, yet continuously changing for future listeners to utilize.