Showing the changes to libraries/shared/src/PointerEvent.cpp (1 of 1 file). Show all
Unified · Split
| @@ -72,8 +72,8 @@ void PointerEvent::setButton(Button button) { · 71 unmodified lines | |||
| 72 | * <code>"Move"</code>. | 72 | * <code>"Move"</code>. |
| 73 | * @property {number} id - Integer number used to identify the pointer: <code>0</code> = hardware mouse, <code>1</code> = left | 73 | * @property {number} id - Integer number used to identify the pointer: <code>0</code> = hardware mouse, <code>1</code> = left |
| 74 | * controller, <code>2</code> = right controller. | 74 | * controller, <code>2</code> = right controller. |
| 75 | * @property {Vec2} pos2D - The 2D position of the event on the intersected overlay or entity XY plane. | 75 | * @property {Vec2} pos2D - The 2D position of the event on the intersected overlay or entity XY plane, where applicable. |
| 76 | * @property {Vec3} pos3D - The 3D position of the event on the intersected overlay or entity. | 76 | * @property {Vec3} pos3D - The 3D position of the event on the intersected overlay or entity, where applicable. |
| 77 | * @property {Vec3} normal - The surface normal at the intersection point. | 77 | * @property {Vec3} normal - The surface normal at the intersection point. |
| 78 | * @property {Vec3} direction - The direction of the intersection ray. | 78 | * @property {Vec3} direction - The direction of the intersection ray. |
| 79 | * @property {string} button - The name of the button pressed: <code>None</code>, <code>Primary</code>, <code>Secondary</code>, | 79 | * @property {string} button - The name of the button pressed: <code>None</code>, <code>Primary</code>, <code>Secondary</code>, |
| @@ -96,8 +96,8 @@ void PointerEvent::setButton(Button button) { · 16 unmodified lines | |||
| 96 | * <code>false</code> | 96 | * <code>false</code> |
| 97 | * @property {boolean} isTertiaryHeld - <code>true</code> if the tertiary button is currently being pressed, otherwise | 97 | * @property {boolean} isTertiaryHeld - <code>true</code> if the tertiary button is currently being pressed, otherwise |
| 98 | * <code>false</code> | 98 | * <code>false</code> |
| 99 | * @property {KeyboardModifiers} keyboardModifiers - Integer value being and with bits set according to which keyboard modifier | 99 | * @property {KeyboardModifiers} keyboardModifiers - Integer value with bits set according to which keyboard modifier keys were |
| 100 | * keys are were pressed when the event was generated. | 100 | * pressed when the event was generated. |
| 101 | */ | 101 | */ |
| 102 | /**jsdoc | 102 | /**jsdoc |
| 103 | * <p>A KeyboardModifiers value is used to specify which modifier keys on the keyboard are pressed. The value is the sum | 103 | * <p>A KeyboardModifiers value is used to specify which modifier keys on the keyboard are pressed. The value is the sum |