#include <StyleBus.h>
Inherits AZ::EBusTraits.
|
using | BusIdType = AZ::EntityId |
|
|
virtual AZ::EntityId | GetStyleParent () const =0 |
| If this entity has a parent that is also styled, get its ID, otherwise AZ::EntityId()
|
|
virtual Styling::SelectorVector | GetStyleSelectors () const =0 |
| Get a set of styling selectors applicable for the entity.
|
|
virtual void | AddSelectorState (const char *selector)=0 |
|
virtual void | RemoveSelectorState (const char *selector)=0 |
|
virtual AZStd::string | GetElement () const =0 |
| Get the "style element" that the entity "is"; e.g. "node", "slot", "connection", etc.
|
|
virtual AZStd::string | GetClass () const =0 |
| Get the "style class" that the entity has. This should start with a '.' and contain [A-Za-z_-].
|
|
virtual AZStd::string | GetFullStyleElement () const |
| Returns <element>.<class>
|
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
StyledEntityRequests Provide details about an entity to support it being styled.
The documentation for this class was generated from the following file:
- Gems/GraphCanvas/Code/StaticLib/GraphCanvas/Components/StyleBus.h