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

#include <UiDropdownOptionBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual AZ::EntityId GetOwningDropdown ()=0
 Get the owning dropdown of this option.
 
virtual void SetOwningDropdown (AZ::EntityId owningDropdown)=0
 Set the owning dropdown of this option.
 
virtual AZ::EntityId GetTextElement ()=0
 Get the text element of this option.
 
virtual void SetTextElement (AZ::EntityId textElement)=0
 Set the text element of this option.
 
virtual AZ::EntityId GetIconElement ()=0
 Get the icon element of this option.
 
virtual void SetIconElement (AZ::EntityId iconElement)=0
 Set the icon element of this option.
 

Static Public Attributes

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

Detailed Description

The UiDropdownOptionComponent is a component that is designed to work in conjunction with the UiDropdownComponent. It represents any option of that dropdown that the user should be able to select to update the value of the dropdown.


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