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.
UiButtonInterface Class Referenceabstract

Inherits AZ::ComponentBus.

Public Types

typedef AZStd::function< void(AZ::EntityId, AZ::Vector2)> OnClickCallback
 

Public Member Functions

virtual OnClickCallback GetOnClickCallback ()=0
 Get the on-click callback.
 
virtual void SetOnClickCallback (OnClickCallback onClick)=0
 Set the on-click callback.
 
virtual const LyShine::ActionNameGetOnClickActionName ()=0
 Get the action name.
 
virtual void SetOnClickActionName (const LyShine::ActionName &actionName)=0
 Set the action name.
 

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: