new MouseHandler(options)
A handler for mouse events within a 3D viewer.
Parameters:
Name | Type | Description |
---|---|---|
options |
object with following keys:
|
Methods
notify(target, type, event3D)
Notify the listener of the type of event that occurred.
Parameters:
Name | Type | Description |
---|---|---|
target |
the target of the event |
|
type |
the type of event that occurred |
|
event3D |
the 3D mouse even information |
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 |
---|---|---|
domEvent |
the DOM event to process |