Component:ReferenceProxySource: Difference between revisions

From Resonite Wiki
Added a description. Added descriptions to fields.
Added links.
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


<!--T:2-->
<!--T:2-->
The '''ReferenceProxySource''' component allows for the [[User|user]] to grab a reference off from a [[UIX]] element. This requires a [[Component:Button|Button]] component to work.
The '''ReferenceProxySource''' component allows for the [[User|user]] to grab a [[Reference Type|reference]] off from a [[UIX]] element. This requires a [[Component:Button|Button]] component to work.


<!--T:3-->
<!--T:3-->
Line 17: Line 17:
<!--T:4-->
<!--T:4-->
== Usage ==
== Usage ==
This is used to carry references to other fields that are looking for it. Using this component along with the [[Component:ReferenceGrabReceiver|ReferenceGrabReceiver]] and [[Component:ReferenceField|ReferenceField]] of the type [[Type:IWorldElement|IWorldElement]] will allow the user to carry the reference from source to receiver directly.
This is used to carry references to other fields that are looking for it. Using this component along with the [[Component:ReferenceGrabReceiver|ReferenceGrabReceiver]] and [[Component:ReferenceField|ReferenceField]] of the type [[Type:IWorldElement|IWorldElement]] will allow the user to carry the [[Reference Type|reference]] from source to receiver directly.


<!--T:5-->
<!--T:5-->
Line 23: Line 23:


<!--T:6-->
<!--T:6-->
== Related Components ==
== See Also ==
* Similar to the [[Component:ValueFieldProxySource|ValueFieldProxySource]] and [[Component:ValueProxySource|ValueProxySource]] components.
 
</translate>
</translate>
[[Category:Components{{#translation:}}|Reference Proxy Source]]
[[Category:Components{{#translation:}}|Reference Proxy Source]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Proxy Source]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Proxy Source]]

Latest revision as of 09:57, 28 July 2024

Component image 
ReferenceProxySource component as seen in the Scene Inspector


The ReferenceProxySource component allows for the user to grab a reference 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.
Reference direct SyncRef The reference itself.

Usage

This is used to carry references to other fields that are looking for it. Using this component along with the ReferenceGrabReceiver and ReferenceField of the type IWorldElement will allow the user to carry the reference from source to receiver directly.

Examples

See Also