Hello Everyone,
I am using a scrollViewer to display number of contents inside XR mode. Currently if there are more contents then i use Joystick pointer to scroller and then use that scroller to do the scrolling.
Instead of that, I would like to use Joystick up and down movement for scrolling for scrollViewer.
Can someone please give the suggestion how can i achieve this ?
Its just a question. i am yet to implement anything. so asking here as a suggestion. if i want to use Joystick to scroll the scrollviewer… how can i do that ? the same way we are using Mouse onwheel observable outside XR.
At the moment there is no way to control the scroll view without wheel-events. One way would be to emulate wheel events. Another would be on us - to expose the API to set the position of the scrollview, based on user input. You will then be able to use the thumbstick’s values to use this API and scroll through.