Viewpoint Forums
Viewpoint Forums
JavaScript FAQ's
Can I use JavaScript to reset the camera back to its original position?
Read-Only Topic|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
| <Viewpoint>
|
If you have the javascript MTX2HTML creates, you should call resetcamera() and it will reset the camera. The javascript would look like this:
< !-- var isIE4 = navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion.substring(0,1)) >= 4; function mtspluginfunction() { var argstr; argstr = mtspluginfunction.arguments[0] + "(" + arguments[1] + ")"; if (isIE4) document.all.MetaStreamCtl.PluginCommand(argstr, 0, 0); else document.MetaStreamCtl.DoCommand(argstr); } function resetcamera() {mtspluginfunction ("ResetCamera", arguments[0]);} //--> |
||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
Read-Only Topic
Viewpoint Forums
Viewpoint Forums
JavaScript FAQ's
Can I use JavaScript to reset the camera back to its original position?
