Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::InputDeviceTouch::Implementation::RawTouchEvent Struct Reference

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)
 

Detailed Description

Platform agnostic representation of a raw touch event.


The documentation for this struct was generated from the following file: