Platform agnostic representation of a raw touch event. More...
#include <InputDeviceTouch.h>
Inherits AzFramework::InputChannelAnalogWithPosition2D::RawInputEvent.
Public Types | |
enum class | State { Began , Moved , Ended } |
State of the raw touch event. | |
Public Member Functions | |
RawTouchEvent (float normalizedX, float normalizedY, float pressure, AZ::u32 index, State state) | |
Constructor. | |
AZ_DEFAULT_COPY (RawTouchEvent) | |
~RawTouchEvent () override=default | |
Default destructor. | |
Public Member Functions inherited from AzFramework::InputChannelAnalogWithPosition2D::RawInputEvent | |
RawInputEvent (float normalizedX, float normalizedY, float analogValue) | |
Constructor. | |
AZ_DEFAULT_COPY (RawInputEvent) | |
virtual | ~RawInputEvent ()=default |
Default destructor. | |
Public Attributes | |
AZ::u32 | m_index |
The index of the raw touch event. | |
State | m_state |
The state of the raw touch event. | |
Public Attributes inherited from AzFramework::InputChannelAnalogWithPosition2D::RawInputEvent | |
float | m_normalizedX |
The normalized x position of the raw input event. | |
float | m_normalizedY |
The normalized y position of the raw input event. | |
float | m_analogValue |
The analog value of the raw input event (0: idle) | |
Platform agnostic representation of a raw touch event.