Autodesk.Viewing.Extensions
GoHomeExtension
new GoHomeExtension(viewer, options)
Use its activate()
method to animate the camera back to its default, home view. The extension doesn’t provide any UI.
The extension id is: Autodesk.GoHome
Parameters
viewer* | Viewer instance |
options* object | Configurations for the extension |
* Required
Examples
viewer.loadExtension('Autodesk.GoHome')
Methods
activate()
Animates the camera back to its home location.
activate()
It doesn’t do anything.