|ViewportIndex|Int|The current focused viewport [[UIX]] element.
|ViewportIndex|Int|The current focused viewport [[UIX]] element.
|AnimationTime|Float|The time it takes to pan across to get to the selected viewport index.
|AnimationTime|Float|The time it takes to pan across to get to the selected viewport index.
|Direction|'''[[#AlignDirection|AlignDirection]]'''|TypeAdv2=true|The direction this animates to get to the selected viewport index.
|Direction|'''[[#AlignDirection|AxisMultiViewportPanner.AlignDirection]]'''|TypeAdv2=true|The direction this animates to get to the selected viewport index.
|Viewports|{{RootFieldType|SyncList`1|[[#Viewport|Viewport]]}}|TypeAdv3=true|The list of [[UIX]] element viewports to pan to.
|Viewports|{{RootFieldType|SyncList`1|[[#Viewport|AxisMultiViewportPanner.Viewport]]}}|TypeAdv3=true|The list of [[UIX]] element viewports to pan to.
}}
}}
Latest revision as of 06:00, 17 March 2025
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.
Examples
Videos
ProbablePrime's tutorial video about the AxisMultiViewportPanner: