ProtoFlux:Field As Variable: Difference between revisions

From Resonite Wiki
m added link
forgot the catgeory
Line 31: Line 31:


{{Stub}}
{{Stub}}
[[Category:ProtoFlux:Core]]

Revision as of 05:14, 3 February 2024

Field As Variable<T>
Field
*
Core


Field As Variable takes an IValue<T> that wraps any Generic value, and outputs a variable that wraps the value field provided into the input Field (IValue<T>).

Variables for Indirects can be made using a Field As Variable which can wrap any type (Generic). Variables can also be made by dragging a source of the same wrapped type (ex:Source<String> -> Variable<String>) into any variable input and it will make a special converter to connect them. This can be multiplexed using Multiplexing for using multiple variables into the same input on Indirects. Multiplexing the inputs on Indirects can be useful in modifying a list of variables during a For or While loop.

Inputs

Field (IValue<T> Generic)

The IValue<T> to put inside of the output * (Variable).

Outputs

* (Variable Generic)

A variable that wraps the inputted Field (IValue<T>).

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.