Open 3D Engine Gestures Gem 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.
Gestures::InputChannelGesture::Type Struct Referenceabstract

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 InputChannelGestureCreateInputChannel (const AzFramework::InputChannelId &channelId, const AzFramework::InputDevice &inputDevice)=0
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Base class for gesture types that are exposed to the editor.

Member Function Documentation

◆ CreateInputChannel()

virtual InputChannelGesture * Gestures::InputChannelGesture::Type::CreateInputChannel ( const AzFramework::InputChannelId &  channelId,
const AzFramework::InputDevice &  inputDevice 
)
pure virtual

Override to create the relevant gesture input channel

Parameters
[in]inputChannelIdId of the input channel to be created
[in]inputDeviceInput 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.


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