Component:ValueFieldProxySource: Difference between revisions

From Resonite Wiki
Added a description. added usage description. added field descriptions. added links to the other similar components.
fix link
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
}}
}}


The '''ValueFieldProxySource''' component allows for the [[User|user]] to grab a field reference off from a [[UIX]] element. This requires a [[Component:Button|Button]] component to work.
The '''ValueFieldProxySource''' component allows for the [[User|user]] to grab a value from what is stored in a field off from a [[UIX]] element. This requires a [[Component:Button|Button]] component to work.




{{Table ComponentFields
{{Table ComponentFields
|Field|'''[[Type:IField`1|IField`1]]<T>'''|TypeAdv0=true|The field itself.
|Field|'''[[Type:IField`1|IField`1]]<T>'''|TypeAdv0=true|The field to grab a value from.
}}
}}


== Usage ==
== Usage ==
This is used to carry field references to other [[UIX]] elements that are looking for it. Using this component along with the [[Component:ReferenceGrabReceiver|ReferenceGrabReceiver]] and [[Component:ReferenceField|ReferenceField]] of the type [[Type:IField|IField]] will allow the user to carry the field references from source to receiver directly.
This is used to carry values to other [[UIX]] elements that are looking for it. Using this component along with the [[Component:ValueReceiver|ValueReceiver]] and [[Component:ValueField|ValueField]] will allow the user to carry the field's value from source to receiver directly.


== Examples ==
== Examples ==

Latest revision as of 19:49, 16 February 2025

Component image 
Value Field Proxy Source`1 component as seen in the Scene Inspector


The ValueFieldProxySource component allows for the user to grab a value from what is stored in a field off from a UIX element. This requires a Button component to work.


Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Field IField`1<T> The field to grab a value from.

Usage

This is used to carry values to other UIX elements that are looking for it. Using this component along with the ValueReceiver and ValueField will allow the user to carry the field's value from source to receiver directly.

Examples

See Also