Added a description. Added a usage description. Added field descriptions.
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ProjectedRectSlotDriverComponent.png
|Image=ProjectedRectSlotDriverComponent.png
Line 9:
Line 8:
<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''ProjectedRectSlotDriver''' component takes a [[Slot]] in the <code>Target</code> field and places that slot in the center of where this compoennt's [[UIX]] element's transform is. This target slot will be resized to match a pizel scale that the UIX [[Component:Canvas|Canvas]] uses.
|_scale|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv3=true|Internal - The scale of the target slot.
|_originalParent|Slot|
|_originalParent|Slot|Internal - The original parent this slot came from.
|_lastTarget|Slot|
|_lastTarget|Slot|Internal - The last known slot target this component used.
}}
}}
<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
This can be used if you want to place a slot to where some [[UIX]] is at anytime.
<!--T:5-->
<!--T:5-->
Line 32:
Line 31:
</translate>
</translate>
[[Category:Components{{#translation:}}|Projected Rect Slot Driver]]
[[Category:Components{{#translation:}}|Projected Rect Slot Driver]]
[[Category:ComponentStubs]]
[[Category:Components:UIX:Utility{{#translation:}}|Projected Rect Slot Driver]]
[[Category:Components:UIX:Utility{{#translation:}}|Projected Rect Slot Driver]]
Latest revision as of 01:14, 29 July 2024
Component image
ProjectedRectSlotDriver component as seen in the Scene Inspector
The ProjectedRectSlotDriver component takes a Slot in the Target field and places that slot in the center of where this compoennt's UIX element's transform is. This target slot will be resized to match a pizel scale that the UIX Canvas uses.