|
Open 3D Engine GraphCanvas Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <StyleBus.h>
Inherits EBusTraits.
Public Types | |
| using | BusIdType = AZ::EntityId |
Public Member Functions | |
| 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 Public Attributes | |
| 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.