Open 3D Engine Gestures Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <InputDeviceGestures.h>
Inherits AzFramework::InputDevice.
Classes | |
struct | Gesture |
All the input channel ids that identify standard gesture input. More... | |
Public Types | |
using | ConfigsByNameMap = AZStd::unordered_map< AZStd::string, InputChannelGesture::Type * > |
Alias for verbose container class. | |
Public Member Functions | |
AZ_CLASS_ALLOCATOR (InputDeviceGestures, AZ::SystemAllocator) | |
AZ_RTTI (InputDeviceGestures, "{4E6EB405-9C01-418E-96F2-0E99A2B61C45}", InputDevice) | |
InputDeviceGestures (const ConfigsByNameMap &gestureConfigsByName) | |
InputDeviceGestures (const InputDeviceGestures &)=delete | |
~InputDeviceGestures () override | |
Destructor. | |
const InputChannelByIdMap & | GetInputChannelsById () const override |
AzFramework::InputDevice::GetInputChannelsById | |
bool | IsSupported () const override |
AzFramework::InputDevice::IsSupported | |
bool | IsConnected () const override |
AzFramework::InputDevice::IsConnected | |
void | TickInputDevice () override |
AzFramework::InputDeviceRequests::TickInputDevice | |
Static Public Member Functions | |
static bool | IsGesturesDevice (const AzFramework::InputDeviceId &inputDeviceId) |
static void | Reflect (AZ::ReflectContext *context) |
Static Public Attributes | |
static const AzFramework::InputDeviceId | Id |
The id used to identify the primary gestures input device. | |
Implementation for an input device listens for mouse and touch input, then interprets it as common gestures such as multi-click/tap, drag, hold, pinch, rotate, and swipe.
|
explicit |
Constructor
[in] | gestureConfigsByName | Map of gesture name/config pairs used to create channels |
|
static |
Check whether an input device id identifies the gestures device (regardless of index)
[in] | inputDeviceId | The input device id to check |