|
| AZ_CLASS_ALLOCATOR (InputChannelGesturePinch, AZ::SystemAllocator) |
|
| AZ_RTTI (InputChannelGesturePinch, "{BFA07504-7C84-499E-B3C5-DA8CF4926BC5}", InputChannel) |
|
| InputChannelGesturePinch (const AzFramework::InputChannelId &inputChannelId, const AzFramework::InputDevice &inputDevice, const Config &config) |
|
| AZ_DISABLE_COPY_MOVE (InputChannelGesturePinch) |
|
| ~InputChannelGesturePinch () override |
| Destructor.
|
|
| AZ_CLASS_ALLOCATOR (InputChannelGesture, AZ::SystemAllocator) |
|
| AZ_RTTI (InputChannelGesture, "{A26F1958-7AF7-48AB-87AA-12AD76088BCA}", InputChannel) |
|
| InputChannelGesture (const AzFramework::InputChannelId &inputChannelId, const AzFramework::InputDevice &inputDevice) |
|
| AZ_DISABLE_COPY_MOVE (InputChannelGesture) |
|
| ~InputChannelGesture () override=default |
| Default destructor.
|
|
| AZ_CLASS_ALLOCATOR (RecognizerPinch, AZ::SystemAllocator) |
|
| AZ_RTTI (RecognizerPinch, "{C44DE7E3-1DBE-48CA-BD60-AD2633E11137}", RecognizerContinuous) |
|
| RecognizerPinch (const Config &config=GetDefaultConfig()) |
|
int32_t | GetPriority () const override |
|
bool | OnPressedEvent (const AZ::Vector2 &screenPosition, uint32_t pointerIndex) override |
|
bool | OnDownEvent (const AZ::Vector2 &screenPosition, uint32_t pointerIndex) override |
|
bool | OnReleasedEvent (const AZ::Vector2 &screenPosition, uint32_t pointerIndex) override |
|
Config & | GetConfig () |
|
const Config & | GetConfig () const |
|
void | SetConfig (const Config &config) |
|
AZ::Vector2 | GetStartPosition0 () const |
|
AZ::Vector2 | GetStartPosition1 () const |
|
AZ::Vector2 | GetCurrentPosition0 () const |
|
AZ::Vector2 | GetCurrentPosition1 () const |
|
AZ::Vector2 | GetStartMidpoint () const |
|
AZ::Vector2 | GetCurrentMidpoint () const |
|
float | GetStartDistance () const |
|
float | GetCurrentDistance () const |
|
float | GetPinchRatio () const |
|
| AZ_CLASS_ALLOCATOR (RecognizerContinuous, AZ::SystemAllocator) |
|
| AZ_RTTI (RecognizerContinuous, "{A8B16552-E1F3-4469-BEB8-5D209554924E}", IRecognizer) |
|
| AZ_CLASS_ALLOCATOR (IRecognizer, AZ::SystemAllocator) |
|
| AZ_RTTI (IRecognizer, "{C3E00298-1953-465F-A360-EBC10B62BFE8}", CustomData) |
|
void | Enable () |
| Enable this gesture recognizer.
|
|
void | Disable () |
| Disable this gesture recognizer.
|
|
AZ::s32 | GetPriority () const override |
| AzFramework::InputChannelNotifications::GetPriority
|
|
void | OnInputChannelEvent (const AzFramework::InputChannel &inputChannel, bool &o_hasBeenConsumed) override |
| AzFramework::InputChannelNotifications::OnInputChannelEvent
|
|
virtual bool | OnPressedEvent (const AZ::Vector2 &screenPositionPixels, uint32_t pointerIndex)=0 |
|
virtual bool | OnDownEvent (const AZ::Vector2 &screenPositionPixels, uint32_t pointerIndex)=0 |
|
virtual bool | OnReleasedEvent (const AZ::Vector2 &screenPositionPixels, uint32_t pointerIndex)=0 |
|
Input channel that recognizes continuous pinch gestures.