Creates and registers a new SelectionMenu.
Reference to the core application.
Called if the menu should be shown. A 2d bounding rect in viewer coordinates is given for the current selection.
Called if the menu should be hidden.
If true the menu gets deactivated as sonn as a tool other than the default tool gets started. (default: true)
Generated using TypeDoc
The SelectionMenu can be used to provide a custom menu for the selected SceneElements. A show and hide callback has to be provided to implement the custom menu. The SelectionMenu only works in combination with a default tool derived from the SelectionDefault tool.