new MouseHandler(options)
A handler for mouse events within a 3D viewer.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
object with following keys:
|
- Source:
- visualization/interaction/MouseHandler.js, line 16
Methods
-
notify(target, type, event3D)
-
Notify the listener of the type of event that occurred.
Parameters:
Name Type Description targetthe target of the event
typethe type of event that occurred
event3Dthe 3D mouse even information
- Source:
- visualization/interaction/MouseHandler.js, line 172
Returns:
if an event was canceled
-
processDomEvent(domEvent)
-
Process the particular DOM even that has occurred based on the mouse's position in the scene.
Parameters:
Name Type Description domEventthe DOM event to process
- Source:
- visualization/interaction/MouseHandler.js, line 44