Interface class that listeners need to implement to be notified of changes to the sprite settings. More...
#include <UiSpriteBus.h>
Inherits AZ::EBusTraits.
Public Types | |
typedef ISprite * | BusIdType |
Public Member Functions | |
virtual void | OnSpriteSettingsChanged ()=0 |
Called when the sprite settings such as number of cells etc change. | |
Static Public Attributes | |
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
Interface class that listeners need to implement to be notified of changes to the sprite settings.
Overrides the default AZ::EBusTraits ID type so that Sprite pointers are used to access the addresses of the bus.
|
static |
Overrides the default AZ::EBusTraits address policy so that the bus has multiple addresses at which to receive messages. This bus is identified by Sprite pointer. Messages addressed to an ID are received by handlers connected to that ID.