1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
| /**
| * Enumerates the available input for interacting with the camera.
| *
| * @enum {Number}
| */
| var CameraEventType = {
| /**
| * A left mouse button press followed by moving the mouse and releasing the button.
| *
| * @type {Number}
| * @constant
| */
| LEFT_DRAG: 0,
|
| /**
| * A right mouse button press followed by moving the mouse and releasing the button.
| *
| * @type {Number}
| * @constant
| */
| RIGHT_DRAG: 1,
|
| /**
| * A middle mouse button press followed by moving the mouse and releasing the button.
| *
| * @type {Number}
| * @constant
| */
| MIDDLE_DRAG: 2,
|
| /**
| * Scrolling the middle mouse button.
| *
| * @type {Number}
| * @constant
| */
| WHEEL: 3,
|
| /**
| * A two-finger touch on a touch surface.
| *
| * @type {Number}
| * @constant
| */
| PINCH: 4,
| };
| export default Object.freeze(CameraEventType);
|
|