ProtoFlux:Field As Variable: Difference between revisions

From Resonite Wiki
create field as variable ProtoFlux page
 
m added link
Line 13: Line 13:




Field As Variable takes an IValue that wraps any Generic value, and outputs a variable that wraps the value field provided into the input Field ([[Type:IValue`1|IValue<T>]]).  
Field As Variable takes an [[Type:IValue`1|IValue<T>]] that wraps any Generic value, and outputs a variable that wraps the value field provided into the input Field ([[Type:IValue`1|IValue<T>]]).  


{{Template:How To Make Type Variables|Indirects}}
{{Template:How To Make Type Variables|Indirects}}

Revision as of 02:07, 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.