Component:ReferenceProxySource: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page ReferenceProxySource (Component) to Component:ReferenceProxySource: Creating component Namespace
Added links.
 
(3 intermediate revisions by 2 users not shown)
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 Type|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|SyncRef|  
|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 Type|reference]] from source to receiver directly.


<!--T:5-->
<!--T:5-->
Line 24: 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:}}|ReferenceProxySource (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Reference Proxy Source]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Interaction{{#translation:}}|Reference Proxy Source]]
[[Category:Components:UIX:Interaction{{#translation:}}|ReferenceProxySource (Component){{#translation:}}]]

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