new NavigationHandlerFactory()
Methods
-
<static> create(type, options)
-
Creates a specific navigation based on its type (e.g Astro, Flat, Sky).
Parameters:
Name Type Description type
HANDLER the type of navigation options
AbstractNavigation.touch_configuration | AbstractNavigation.mouse_configuration | AbstractNavigation.googleMouse_configuration | AbstractNavigation.keyboard_configuration see the handlers. - See:
-
- GoogleMouseNavigationHandler - Control the camera with mouse as Google movement
- KeyboardNavigationHandler - Control the camera with the keyboard
- MouseNavigationHandler - Control the camera with the mouse
- TouchNavigationHandler - Control the camera with the smartphone
Throws:
-
Type not valid - a valid type is included in the list HANDLER
- Type
- RangeError
Returns:
one of the handler- Type
- Object