ProtoFlux:Continuously Changing Relay: Difference between revisions

From Resonite Wiki
revamp
m links
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 listener node, such as a [[drive]] or [[ProtoFlux:Display|display]].
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 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.
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.

Revision as of 15:24, 9 April 2025

Continuous Relay
Input
*
Utility

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.

Examples