Unigine.InputEventVRButtonTouch Class
Inherits from: | InputEvent |
InputEventVRButtonTouch Class
Enums
ACTION#
Name | Description |
---|---|
DOWN = 0 | Button state is "pressed". |
UP = 1 | Button state is "released". |
Properties
InputEventVRButtonTouch.ACTION Action#
The Type of the VR controller button touch input event, one of the ACTION values.
int ConnectionID#
The Connection identifier.
Input.VR_BUTTON Button#
The VR controller button index.
Members
InputEventVRButtonTouch ( ) #
Default constructor.InputEventVRButtonTouch ( ulong timestamp, ivec2 mouse_pos ) #
VR controller button touch input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
InputEventVRButtonTouch ( ulong timestamp, ivec2 mouse_pos, InputEventVRButtonTouch.ACTION action, int connection_id, Input.VR_BUTTON button ) #
VR controller button touch input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
- InputEventVRButtonTouch.ACTION action - Type of the VR controller button touch input event, one of the ACTION values.
- int connection_id - Connection identifier.
- Input.VR_BUTTON button - VR controller button touch index.
Last update:
2023-11-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)