Open 3D Engine GraphCanvas Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <StylingComponent.h>
Inherits AZ::Component, VisualNotificationBus::Handler, StyledEntityRequestBus::Handler, SceneMemberNotificationBus::Handler, GraphCanvas::SceneNotificationBus::Handler, and EntitySaveDataRequestBus::Handler.
Classes | |
class | StylingComponentSaveData |
Public Member Functions | |
AZ_COMPONENT (StylingComponent, "{94BF24F3-0EF1-41D9-B869-27AAB2B7F9AF}") | |
StylingComponent (const AZStd::string &element, const AZ::EntityId &parentStyledEntity=AZ::EntityId(), const AZStd::string &styleClass=AZStd::string()) | |
void | Activate () override |
void | Deactivate () override |
void | OnItemChange (const AZ::EntityId &, QGraphicsItem::GraphicsItemChange, const QVariant &) override |
AZ::EntityId | GetStyleParent () const override |
Styling::SelectorVector | GetStyleSelectors () const override |
void | AddSelectorState (const char *selector) override |
void | RemoveSelectorState (const char *selector) override |
AZStd::string | GetElement () const override |
AZStd::string | GetClass () const override |
void | OnSceneSet (const AZ::EntityId &scene) override |
void | OnRemovedFromScene (const AZ::EntityId &scene) override |
void | OnStylesChanged () override |
void | WriteSaveData (EntitySaveDataContainer &saveDataContainer) const override |
void | ReadSaveData (const EntitySaveDataContainer &saveDataContainer) override |
Implements a base StyledEntityRequestBus::Handler for entities that have a "root visual" (QGraphicsItem/QGraphicsLayoutItem).