ScreenSpaceInputBindings
Methods
Registers drag input bindings on a screen space event handler.
| Name |
Type |
Description |
handler |
ScreenSpaceEventHandler
|
The screen space event handler. |
inputBindings |
Array.<InputBinding>
|
The drag bindings to register. |
dragInputActions |
DragInputActions
|
The callbacks to invoke for drag actions. |
Type Definitions
Properties:
| Name |
Type |
Description |
start |
function
|
Called on drag start. |
end |
function
|
Called on drag stop. |
move |
function
|
Called on drag move. |
Properties:
| Name |
Type |
Attributes |
Description |
button |
MouseButton
|
|
The mouse button used for drag start/stop. |
modifier |
number
|
<optional>
|
The optional keyboard modifier to register. |
Need help? The fastest way to get answers is from the community and team on the
Cesium Forum.