Defines an interface for working with indexable image types, such as sprite-sheets or image sequences.
More...
#include <UiIndexableImageBus.h>
Inherits AZ::ComponentBus.
|
virtual void | SetImageIndex (AZ::u32 index)=0 |
| Sets the index of the image to display.
|
|
virtual const AZ::u32 | GetImageIndex ()=0 |
| Gets the index of the image to display.
|
|
virtual const AZ::u32 | GetImageIndexCount ()=0 |
| Gets the number of indices for this image.
|
|
virtual AZStd::string | GetImageIndexAlias (AZ::u32 index)=0 |
| Given an index, return its alias (if defined)
|
|
virtual void | SetImageIndexAlias (AZ::u32 index, const AZStd::string &alias)=0 |
| Given an index, set an alias for it.
|
|
virtual AZ::u32 | GetImageIndexFromAlias (const AZStd::string &alias)=0 |
| Given an alias, return the index that corresponds to it.
|
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
| Only one component on a entity can implement the events.
|
|
Defines an interface for working with indexable image types, such as sprite-sheets or image sequences.
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Include/LyShine/Bus/UiIndexableImageBus.h