Inherits AZ::ComponentBus.
|
|
virtual void | ResetOverrides ()=0 |
| | Reset the overrides, used when setting interactable states.
|
| |
|
virtual void | SetOverrideColor (const AZ::Color &color)=0 |
| | Set the override color, used for interactable states.
|
| |
|
virtual void | SetOverrideAlpha (float alpha)=0 |
| | Set the override alpha, used for interactable states.
|
| |
| virtual void | SetOverrideSprite (ISprite *sprite, AZ::u32 cellIndex) |
| |
| virtual void | SetOverrideFont (FontFamilyPtr fontFamily) |
| |
|
virtual void | SetOverrideFontEffect (unsigned int fontEffectIndex) |
| | Set the override font effect, if this visual component uses a font this will override it.
|
| |
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
| | Only one component on a entity can implement the events.
|
| |
◆ SetOverrideFont()
| virtual void UiVisualInterface::SetOverrideFont |
( |
FontFamilyPtr |
fontFamily | ) |
|
|
inlinevirtual |
Set the override font, if this visual component uses a font this will override it
- Parameters
-
| font | If null the font on the visual component will not be overridden |
◆ SetOverrideSprite()
| virtual void UiVisualInterface::SetOverrideSprite |
( |
ISprite * |
sprite, |
|
|
AZ::u32 |
cellIndex |
|
) |
| |
|
inlinevirtual |
Set the override sprite, if this visual component uses a sprite this will override it
- Parameters
-
| sprite | If null the sprite on the visual component will not be overridden |
| cellIndex | This value will be ignored if the given sprite isn't a sprite-sheet spritetype. |
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Include/LyShine/Bus/UiVisualBus.h