Request

Response

    Autodesk.Viewing.Extensions

    GoHomeExtension

    new GoHomeExtension()

    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

    Examples

    viewer.loadExtension('Autodesk.GoHome')
    

    Methods

    activate()

    Animates the camera back to its home location.

    activate()

    It doesn’t do anything.