Component:ReferenceProxySource: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
Added a description. Added descriptions to fields.
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ReferenceProxySourceComponent.png
|Image=ReferenceProxySourceComponent.png
Line 9: Line 8:


<!--T:2-->
<!--T:2-->
== Intoduction ==
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.


<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Reference|{{RootFieldType|SyncRef}}|TypeAdv0=true|
|Reference|{{RootFieldType|SyncRef}}|TypeAdv0=true|The reference itself.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== 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.


<!--T:5-->
<!--T:5-->
Line 27: Line 26:
</translate>
</translate>
[[Category:Components{{#translation:}}|Reference Proxy Source]]
[[Category:Components{{#translation:}}|Reference Proxy Source]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Proxy Source]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Proxy Source]]

Revision as of 23:50, 27 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

Related Components