Component:ProjectedRectSlotDriver

From Resonite Wiki
Revision as of 01:14, 29 July 2024 by AmasterAmaster (talk | contribs) (Added a description. Added a usage description. Added field descriptions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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.
_position field drive of Float3 Internal - The position of the target slot.
Target Slot The slot to reposition onto this UIX.
_rotation field drive of FloatQ Internal - The rotation of the target slot.
_scale field drive of Float3 Internal - The scale of the target slot.
_originalParent Slot Internal - The original parent this slot came from.
_lastTarget Slot Internal - The last known slot target this component used.

Usage

This can be used if you want to place a slot to where some UIX is at anytime.

Examples

Related Components