Base class for gesture types that are exposed to the editor. More...
#include <InputChannelGesture.h>
Inherited by Gestures::InputChannelGestureClickOrTap::TypeAndConfig, Gestures::InputChannelGestureDrag::TypeAndConfig, Gestures::InputChannelGestureHold::TypeAndConfig, Gestures::InputChannelGesturePinch::TypeAndConfig, Gestures::InputChannelGestureRotate::TypeAndConfig, and Gestures::InputChannelGestureSwipe::TypeAndConfig.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (Type, AZ::SystemAllocator) | |
AZ_RTTI (Type, "{DA483C43-3CAC-4F27-97FD-4024C41E50B1}") | |
virtual | ~Type ()=default |
Destructor. | |
virtual InputChannelGesture * | CreateInputChannel (const AzFramework::InputChannelId &channelId, const AzFramework::InputDevice &inputDevice)=0 |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Base class for gesture types that are exposed to the editor.
|
pure virtual |
Override to create the relevant gesture input channel
[in] | inputChannelId | Id of the input channel to be created |
[in] | inputDevice | Input device that owns the input channel |
Implemented in Gestures::InputChannelGestureClickOrTap::TypeAndConfig, Gestures::InputChannelGestureDrag::TypeAndConfig, Gestures::InputChannelGestureHold::TypeAndConfig, Gestures::InputChannelGesturePinch::TypeAndConfig, Gestures::InputChannelGestureRotate::TypeAndConfig, and Gestures::InputChannelGestureSwipe::TypeAndConfig.