Hi,
i need to use a scrollview to display an overly large image and sroll through this. Now i need to zoom in and out.
While i got the zooming working the contentview has its pivot upper left. For nice zooming i need to to have the pivot at the mouseposition or, on two finger touch input at the middle of the two input positions. So it seems, either, i change the pivot somehow programmatically or i need to set the scroll position of the scrollview. However, there doesn´t seam to be a method to do so according to the docs: https://developer.playcanvas.com/en/api/pc.ScrollViewComponent.html
What is the proper way to do this? Seems pretty basic to me but i can´t find the methods.
thanks in advance,
Marjan