The '''AxisMultiViewportPanner''' component toggles through [[UIX]] element's active state, min and max of the [[Component:RectTransform|RectTransform]]'s anchor. This allows a [[User|user]] to make "pages" in UIX.
<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|ViewportIndex|Int|
|ViewportIndex|Int|The current focused viewport [[UIX]] element.
|AnimationTime|Float|
|AnimationTime|Float|The time it takes to pan across to get to the selected viewport index.
|Viewports|{{RootFieldType|SyncList`1|[[#Viewport|Viewport]]}}|TypeAdv3=true|The list of [[UIX]] element viewports to pan to.
}}
}}
<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
This is useful if you want to make a slideshow, tab pages for [[UIX]], or anything that you want to have pan across for multiple pages in your design.
{{Note|This component does not have the capability of jumping or skipping from on page directly to the next while also using the animation time. It will go through each page one at a time to get to the destination. If you want to have the functionality to jump to a page, you will need to do a bit of math currently.|warning}}
<!--T:5-->
<!--T:5-->
Line 30:
Line 31:
</translate>
</translate>
[[Category:Components{{#translation:}}|Axis Multi Viewport Panner]]
[[Category:Components{{#translation:}}|Axis Multi Viewport Panner]]
[[Category:ComponentStubs]]
[[Category:Components With Nested Enums{{#translation:}}|Axis Multi Viewport Panner]]
[[Category:Components With Nested Enums{{#translation:}}|Axis Multi Viewport Panner]]
[[Category:Components With Nested Types{{#translation:}}|Axis Multi Viewport Panner]]
[[Category:Components With Nested Types{{#translation:}}|Axis Multi Viewport Panner]]
[[Category:Components:UIX:Utility{{#translation:}}|Axis Multi Viewport Panner]]
[[Category:Components:UIX:Utility{{#translation:}}|Axis Multi Viewport Panner]]
Revision as of 00:45, 29 July 2024
Component image
AxisMultiViewportPanner component as seen in the Scene Inspector
The AxisMultiViewportPanner component toggles through UIX element's active state, min and max of the RectTransform's anchor. This allows a user to make "pages" in UIX.
This is useful if you want to make a slideshow, tab pages for UIX, or anything that you want to have pan across for multiple pages in your design.
This component does not have the capability of jumping or skipping from on page directly to the next while also using the animation time. It will go through each page one at a time to get to the destination. If you want to have the functionality to jump to a page, you will need to do a bit of math currently.