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

Inherits AZ::ComponentBus.

Public Types

typedef AZStd::function< void(AZ::EntityId)> OnActionCallback
 

Public Member Functions

virtual const LyShine::ActionNameGetHoverStartActionName ()=0
 Get the hover start action name.
 
virtual void SetHoverStartActionName (const LyShine::ActionName &actionName)=0
 Set the hover start action name.
 
virtual const LyShine::ActionNameGetHoverEndActionName ()=0
 Get the hover end action name.
 
virtual void SetHoverEndActionName (const LyShine::ActionName &actionName)=0
 Set the hover end action name.
 
virtual const LyShine::ActionNameGetPressedActionName ()=0
 Get the pressed action name.
 
virtual void SetPressedActionName (const LyShine::ActionName &actionName)=0
 Set the pressed action name.
 
virtual const LyShine::ActionNameGetReleasedActionName ()=0
 Get the released action name.
 
virtual void SetReleasedActionName (const LyShine::ActionName &actionName)=0
 Set the released action name.
 
virtual OnActionCallback GetHoverStartActionCallback ()=0
 Get the hover start callback.
 
virtual void SetHoverStartActionCallback (OnActionCallback onActionCallback)=0
 Set the hover start callback.
 
virtual OnActionCallback GetHoverEndActionCallback ()=0
 Get the hover end callback.
 
virtual void SetHoverEndActionCallback (OnActionCallback onActionCallback)=0
 Set the hover end callback.
 
virtual OnActionCallback GetPressedActionCallback ()=0
 Get the pressed callback.
 
virtual void SetPressedActionCallback (OnActionCallback onActionCallback)=0
 Set the pressed callback.
 
virtual OnActionCallback GetReleasedActionCallback ()=0
 Get the release callback.
 
virtual void SetReleasedActionCallback (OnActionCallback onActionCallback)=0
 Set the release callback.
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Single
 Only one component on a entity can implement the events.
 

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