Open 3D Engine LyShine 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.
UiCanvasActionNotification Class Referenceabstract

Interface class that listeners need to implement to be notified of canvas actions. More...

#include <UiCanvasBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void OnAction (AZ::EntityId entityId, const LyShine::ActionName &actionName)=0
 Called when the canvas sends an action to the listener.
 
virtual void OnActionMultitouch ([[maybe_unused]] AZ::EntityId entityId, [[maybe_unused]] const LyShine::ActionName &actionName, [[maybe_unused]] const AZ::Vector2 &actionPosition, [[maybe_unused]] int multiTouchIndex)
 Called when the canvas sends an action to the listener (With bonus multitouch info)
 
virtual void OnEnableStateChanged ([[maybe_unused]] AZ::EntityId entityId, [[maybe_unused]] bool state)
 Called when the canvas's enabled state changed.
 

Static Public Attributes

static const bool EnableEventQueue = true
 

Detailed Description

Interface class that listeners need to implement to be notified of canvas actions.


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