Hello,
Is there a Javascript API that helps to Zoom IN/OUT of an Object2VR scene ? Kindly help if it's available.
Javascript API to control Zoom IN/OUT
- Hopki
- Gnome
- Posts: 13057
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Please see this page for Object2VR API calls: https://ggnome.com/wiki/javascript-api-object2vr/
But for zoom you can use: and to set the zoom factor in percent.
Regards,
Please see this page for Object2VR API calls: https://ggnome.com/wiki/javascript-api-object2vr/
But for zoom you can use:
Code: Select all
obj.getFov
Code: Select all
obj.setFov
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/