#include <UiCanvasBus.h>
Inherits AZ::ComponentBus.
|
virtual void | OnCanvasPrimaryPressed (AZ::EntityId entityId) |
|
virtual void | OnCanvasPrimaryReleased (AZ::EntityId entityId) |
|
virtual void | OnCanvasMultiTouchPressed (AZ::EntityId entityId, int multiTouchIndex) |
|
virtual void | OnCanvasMultiTouchReleased (AZ::EntityId entityId, int multiTouchIndex) |
|
virtual void | OnCanvasHoverStart (AZ::EntityId entityId) |
| Called when an element starts being hovered.
|
|
virtual void | OnCanvasHoverEnd (AZ::EntityId entityId) |
| Called when an element ends being hovered.
|
|
virtual void | OnCanvasEnterPressed (AZ::EntityId entityId) |
| Called when the enter key is pressed.
|
|
virtual void | OnCanvasEnterReleased (AZ::EntityId entityId) |
| Called when the enter key is released.
|
|
Interface class that listeners need to implement to be notified of canvas input. Note that interactables already get methods called on them when they themselves are interacted with. This notification bus is intended for other entities or Lua to know when some other entities are interacted with.
◆ OnCanvasMultiTouchPressed()
virtual void UiCanvasInputNotifications::OnCanvasMultiTouchPressed |
( |
AZ::EntityId |
entityId, |
|
|
int |
multiTouchIndex |
|
) |
| |
|
inlinevirtual |
Called when an element is pressed. Will be an invalid entity id if no interactable was pressed.
◆ OnCanvasMultiTouchReleased()
virtual void UiCanvasInputNotifications::OnCanvasMultiTouchReleased |
( |
AZ::EntityId |
entityId, |
|
|
int |
multiTouchIndex |
|
) |
| |
|
inlinevirtual |
Called when an element is released. The released entity that is sent is the entity that was active (if any).
◆ OnCanvasPrimaryPressed()
virtual void UiCanvasInputNotifications::OnCanvasPrimaryPressed |
( |
AZ::EntityId |
entityId | ) |
|
|
inlinevirtual |
Called when an element is pressed. Will return an invalid entity id if no interactable was pressed.
◆ OnCanvasPrimaryReleased()
virtual void UiCanvasInputNotifications::OnCanvasPrimaryReleased |
( |
AZ::EntityId |
entityId | ) |
|
|
inlinevirtual |
Called when an element is released. The released entity that is sent is the entity that was active (if any).
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasBus.h