Navigation¶
This plugin allows navigating between 3d views with interactive nodes inside the 3d view.
- Plugin name:
"navigation"
- Plugin namespace:
"navigation"
Info
Since version 3d-viewer@1.5.0
this plugin is always loaded.
Dependencies¶
This plugin has no dependencies.
Loading the plugin¶
Features¶
If this plugin is loaded, the module will have the following additional features:
Triggers¶
This plugin adds the following new callback triggers, additionally to the default ones:
click_navigation_node
: Will be called when the user clicks a navigation node. The first parameter will be a default callback object with an additional property callednavigation
with the following content:venue_id
(string): venue id of the navigation node view.view_id
(string): view id of the navigation node view.reset_camera_rotation
(boolean): its value will befalse
, so the camera rotation is preserved, as is described in loadView3d.
This object is useful for use with loadView3d directly.
Flags¶
automatic_click_load¶
When a navigation node is clicked, the destination will be loaded automatically, and click_navigation_node
won't be
triggered.
Info
This flag is enabled by default if you DIDN'T specify this plugin at instancing time, but is disabled if you did.