Added a description, added field descriptions, added a usage description.
(2 intermediate revisions by 2 users not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=RectSlotDriverComponent.png
|Image=RectSlotDriverComponent.png
Line 9:
Line 8:
<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''RectSlotDriver''' component, when attached to a [[UIX]] element [[Slot|slot]], will automatically drive that slot's position and will provide a field <code>_position</code> for the [[User|user]] to use as a reference.
<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|_position|Float3|
|_position|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv0=true|Internal - Sets the position of the slot for driving the value.
}}
}}
<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
Mostly will be used for reference of a position of a [[UIX]] element.
The RectSlotDriver component, when attached to a UIX element slot, will automatically drive that slot's position and will provide a field _position for the user to use as a reference.