ScreenSpaceEvent
ScreenSpaceEvent is an event callback for mouse or touch interactions.
See also: ScreenSpaceEventHandler#setInputAction
- Example: ScreenSpaceEvent
Availability
Only inside ScreenSpaceEventHandler.
Properties
| Property | Type | Description |
|---|---|---|
| action | (e: { position: Cartesian2; } | { startPosition: Cartesian2; endPosition: Cartesian2; }) => void | If empty, the event will be removed even if there is the default event. |
| modifier | KeyboardEventModifier | |
| type | ScreenSpaceEventType |