Hi,
the gyro plugin doesn't support limiting the viewing range.
Here a hacky solution that might work (by setting the limitview setting after enabling the gyro), but that's not a really supported case and the results might not be good due the absolute tracking by the gyro itself and the afterwards limiting by the viewer:
|
Source code
|
1
2
3
4
5
6
|
<plugin name="gyro2"
...
camroll="false"
onenable="set(view.limitview, range);"
...
/>
|
Best regards,
Klaus