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

Inherited by UiInteractableStateAlpha, UiInteractableStateColor, UiInteractableStateFont, and UiInteractableStateSprite.

Public Types

using EntityComboBoxVec = AZStd::vector< AZStd::pair< AZ::EntityId, AZStd::string > >
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (UiInteractableStateAction, AZ::SystemAllocator)
 
 AZ_RTTI (UiInteractableStateAction, "{D86C82E1-E027-453F-A43B-BD801CF88391}")
 
virtual void Init (AZ::EntityId)
 Called from the Init of the UiInteractableComponent.
 
virtual void ApplyState ()=0
 Apply state or do action.
 
virtual void SetInteractableEntity (AZ::EntityId interactableEntityId)
 
virtual AZ::EntityId GetTargetEntity ()
 
EntityComboBoxVec PopulateTargetEntityList ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Protected Attributes

AZ::EntityId m_interactableEntity
 The interactable entity that this state belongs to.
 

Member Function Documentation

◆ ApplyState()

virtual void UiInteractableStateAction::ApplyState ( )
pure virtual

◆ Init()

virtual void UiInteractableStateAction::Init ( AZ::EntityId  )
virtual

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