Reference As Variable<T>
Core
The Reference As Variable node transforms an SyncRef of the given type into an IVariable that can then be written to with an Indirect Write node.
This node implements IVariable itself. This means that one may drag the output of this node into a normal Write node and write to the given SyncRef. This is actually more performant than using an Indirect Write, as a normal write node does not check if the variable changes every time it is pulsed. However, The performance gain diminishes the more often the input SyncRef changes, being roughly equal if the SyncRef changes at every write call.
Inputs
Reference (SyncRef<T>)
The SyncRef of type T to transform into a variable.
Outputs
* (Variable)
A variable created from the given SyncRef
.