Inherits UiInteractableStateAction, and FontNotificationBus::Handler.
|
using | FontEffectComboBoxVec = AZStd::vector< AZStd::pair< unsigned int, AZStd::string > > |
|
using | EntityComboBoxVec = AZStd::vector< AZStd::pair< AZ::EntityId, AZStd::string > > |
|
|
| AZ_CLASS_ALLOCATOR (UiInteractableStateFont, AZ::SystemAllocator) |
|
| AZ_RTTI (UiInteractableStateFont, "{0E39A3BC-CEF5-4385-9D06-BFEE189E77E1}", UiInteractableStateAction) |
|
| UiInteractableStateFont (AZ::EntityId target, const AZStd::string &pathname, unsigned int fontEffectIndex) |
|
void | Init (AZ::EntityId) override |
| Called from the Init of the UiInteractableComponent.
|
|
void | ApplyState () override |
| Apply state or do action.
|
|
void | SetInteractableEntity (AZ::EntityId interactableEntityId) override |
|
AZ::EntityId | GetTargetEntity () override |
|
void | OnFontsReloaded () override |
|
const AZStd::string & | GetFontPathname () |
|
void | SetFontPathname (const AZStd::string &pathname) |
|
const unsigned int | GetFontEffectIndex () |
|
void | SetFontEffectIndex (unsigned int index) |
|
EntityComboBoxVec | PopulateTargetEntityList () |
|
FontEffectComboBoxVec | PopulateFontEffectList () |
| Populate the list for the font effect combo box in the properties pane.
|
|
void | OnFontPathnameChange () |
|
| 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 void | Reflect (AZ::ReflectContext *context) |
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
void | InitCommon (const AZStd::string &fontPathname) |
|
|
AZ::EntityId | m_targetEntity |
|
AzFramework::SimpleAssetReference< LyShine::FontAsset > | m_fontFilename |
|
FontFamilyPtr | m_fontFamily |
|
unsigned int | m_fontEffectIndex |
|
AZ::EntityId | m_interactableEntity |
| The interactable entity that this state belongs to.
|
|
◆ ApplyState()
void UiInteractableStateFont::ApplyState |
( |
| ) |
|
|
overridevirtual |
◆ GetTargetEntity()
AZ::EntityId UiInteractableStateFont::GetTargetEntity |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Init()
void UiInteractableStateFont::Init |
( |
AZ::EntityId |
| ) |
|
|
overridevirtual |
◆ SetInteractableEntity()
void UiInteractableStateFont::SetInteractableEntity |
( |
AZ::EntityId |
interactableEntityId | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Source/UiInteractableState.h