Inherits UiInteractableStateAction.
|
|
| AZ_CLASS_ALLOCATOR (UiInteractableStateSprite, AZ::SystemAllocator) |
| |
|
| AZ_RTTI (UiInteractableStateSprite, "{89294558-CF45-4AA8-9EAA-A1D81BAB92A7}", UiInteractableStateAction) |
| |
|
| UiInteractableStateSprite (AZ::EntityId target, ISprite *sprite) |
| |
|
| UiInteractableStateSprite (AZ::EntityId target, const AZStd::string &spritePath) |
| |
| 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 |
| |
|
ISprite * | GetSprite () |
| |
|
void | SetSprite (ISprite *sprite) |
| |
|
AZStd::string | GetSpritePathname () |
| |
|
void | SetSpritePathname (const AZStd::string &spritePath) |
| |
|
EntityComboBoxVec | PopulateTargetEntityList () |
| |
|
void | OnSpritePathnameChange () |
| |
|
| AZ_CLASS_ALLOCATOR (UiInteractableStateAction, AZ::SystemAllocator) |
| |
|
| AZ_RTTI (UiInteractableStateAction, "{D86C82E1-E027-453F-A43B-BD801CF88391}") |
| |
|
EntityComboBoxVec | PopulateTargetEntityList () |
| |
|
|
static void | Reflect (AZ::ReflectContext *context) |
| |
|
static void | Reflect (AZ::ReflectContext *context) |
| |
|
|
using | AZu32ComboBoxVec = AZStd::vector< AZStd::pair< AZ::u32, AZStd::string > > |
| |
|
|
bool | IsSpriteSheet () |
| |
|
void | OnTargetElementChange () |
| |
|
void | LoadSpriteFromTargetElement () |
| |
|
AZu32ComboBoxVec | PopulateIndexStringList () const |
| | Returns a string representation of the indices used to index sprite-sheet types.
|
| |
|
|
AZ::EntityId | m_targetEntity |
| |
|
AzFramework::SimpleAssetReference< LmbrCentral::TextureAsset > | m_spritePathname |
| |
|
ISprite * | m_sprite = nullptr |
| |
|
AZ::u32 | m_spriteSheetCellIndex = 0 |
| |
|
AZ::EntityId | m_interactableEntity |
| | The interactable entity that this state belongs to.
|
| |
|
|
using | EntityComboBoxVec = AZStd::vector< AZStd::pair< AZ::EntityId, AZStd::string > > |
| |
◆ ApplyState()
| void UiInteractableStateSprite::ApplyState |
( |
| ) |
|
|
overridevirtual |
◆ GetTargetEntity()
| AZ::EntityId UiInteractableStateSprite::GetTargetEntity |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Init()
| void UiInteractableStateSprite::Init |
( |
AZ::EntityId |
| ) |
|
|
overridevirtual |
◆ SetInteractableEntity()
| void UiInteractableStateSprite::SetInteractableEntity |
( |
AZ::EntityId |
interactableEntityId | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Source/UiInteractableState.h