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.
GraphCanvas::NodeGroupFrameComponent Class Reference

Inherits GraphCanvas::GraphCanvasPropertyComponent, NodeNotificationBus::Handler, StyleNotificationBus::Handler, EntitySaveDataRequestBus::Handler, BookmarkRequestBus::Handler, SceneBookmarkRequestBus::Handler, BookmarkNotificationBus::Handler, CommentNotificationBus::Handler, GraphCanvas::SceneNotificationBus::Handler, SceneMemberNotificationBus::MultiHandler, GeometryNotificationBus::MultiHandler, NodeGroupRequestBus::Handler, NodeGroupNotificationBus::MultiHandler, PersistentIdNotificationBus::Handler, VisualNotificationBus::MultiHandler, AZ::SystemTickBus::Handler, RootGraphicsItemNotificationBus::Handler, and CollapsedNodeGroupNotificationBus::Handler.

Classes

class  NodeGroupFrameComponentSaveData
 

Public Member Functions

 AZ_COMPONENT (NodeGroupFrameComponent, "{71CF9059-C439-4536-BB4B-6A1872A5ED94}", GraphCanvasPropertyComponent)
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void SetGroupSize (QRectF blockDimension) override
 
QRectF GetGroupBoundingBox () const override
 
AZ::Color GetGroupColor () const override
 
void CollapseGroup () override
 
void ExpandGroup () override
 
void UngroupGroup () override
 
bool IsCollapsed () const override
 
AZ::EntityId GetCollapsedNodeId () const override
 
void AddElementToGroup (const AZ::EntityId &groupableElement) override
 
void AddElementsToGroup (const AZStd::unordered_set< AZ::EntityId > &groupableElements) override
 
void AddElementsVectorToGroup (const AZStd::vector< AZ::EntityId > &groupableElements) override
 
void RemoveElementFromGroup (const AZ::EntityId &groupableElement) override
 
void RemoveElementsFromGroup (const AZStd::unordered_set< AZ::EntityId > &groupableElements) override
 
void RemoveElementsVectorFromGroup (const AZStd::vector< AZ::EntityId > &groupableElements) override
 
void FindGroupedElements (AZStd::vector< NodeId > &groupedElements) override
 
void ResizeGroupToElements (bool growGroupOnly) override
 
bool IsInTitle (const QPointF &scenePos) const override
 
void AdjustTitleSize () override
 
void OnCollapsed (const NodeId &collapsedNodeId) override
 
void OnExpanded () override
 
void OnNodeActivated () override
 
void OnAddedToScene (const AZ::EntityId &sceneId) override
 
void PreOnRemovedFromScene (const AZ::EntityId &sceneId) override
 
void OnRemovedFromScene (const AZ::EntityId &sceneId) override
 
void OnSceneMemberAboutToSerialize (GraphSerialization &serialziationTarget) override
 
void OnSceneMemberDeserialized (const AZ::EntityId &graphId, const GraphSerialization &serializationTarget) override
 
void OnStyleChanged () override
 
void OnPositionChanged (const AZ::EntityId &entityId, const AZ::Vector2 &position) override
 
void OnBoundsChanged () override
 
void WriteSaveData (EntitySaveDataContainer &saveDataContainer) const override
 
void ReadSaveData (const EntitySaveDataContainer &saveDataContainer) override
 
AZ::EntityId GetBookmarkId () const override
 
void RemoveBookmark () override
 
int GetShortcut () const override
 
void SetShortcut (int shortcut) override
 
AZStd::string GetBookmarkName () const override
 
void SetBookmarkName (const AZStd::string &bookmarkName) override
 
QRectF GetBookmarkTarget () const override
 
QColor GetBookmarkColor () const override
 
void OnBookmarkTriggered () override
 
void OnCommentChanged (const AZStd::string &) override
 
void OnBackgroundColorChanged (const AZ::Color &color) override
 
void OnSceneMemberDragBegin () override
 
void OnSceneMemberDragComplete () override
 
void OnDragSelectStart () override
 
void OnDragSelectEnd () override
 
void OnNodeRemoved (const AZ::EntityId &sceneMemberId) override
 
void OnSceneMemberRemoved (const AZ::EntityId &sceneMemberId) override
 
void OnEntitiesDeserializationComplete (const GraphSerialization &) override
 
void OnGraphLoadComplete () override
 
void PostOnGraphLoadComplete () override
 
void OnPersistentIdsRemapped (const AZStd::unordered_map< PersistentGraphMemberId, PersistentGraphMemberId > &persistentIdRemapping) override
 
void OnSystemTick () override
 
void OnPositionAnimateBegin () override
 
void OnPositionAnimateEnd () override
 
void OnDisplayStateChanged (RootGraphicsItemDisplayState oldState, RootGraphicsItemDisplayState newState) override
 
void OnExpansionComplete () override
 
void OnFrameResizeStart ()
 
void OnFrameResized ()
 
void OnFrameResizeEnd ()
 
EditorId GetEditorId () const
 
- Public Member Functions inherited from GraphCanvas::GraphCanvasPropertyComponent
 AZ_COMPONENT (GraphCanvasPropertyComponent, "{12408A55-4742-45B2-8694-EE1C80430FB4}")
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
AZ::Component * GetPropertyComponent () override
 
- Public Member Functions inherited from GraphCanvas::GraphCanvasPropertyBusHandler
void OnActivate (const AZ::EntityId &entityId)
 
void OnDeactivate ()
 
void AddBusId (const AZ::EntityId &busId) final
 
void RemoveBusId (const AZ::EntityId &busId) final
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
- Static Public Member Functions inherited from GraphCanvas::GraphCanvasPropertyComponent
static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

void RestoreCollapsedState ()
 
void TryAndRestoreCollapsedState ()
 
void FindInteriorElements (AZStd::unordered_set< AZ::EntityId > &interiorElements, Qt::ItemSelectionMode=Qt::ItemSelectionMode::ContainsItemShape)
 
float SetDisplayHeight (float height)
 
float SetDisplayWidth (float width)
 
void EnableInteriorHighlight (bool highlight)
 
void EnableGroupedDisplayState (bool enabled)
 
void OnBookmarkStatusChanged ()
 
void UpdateSavedElements ()
 
void RemapGroupedPersistentIds ()
 

Friends

class NodeGroupFrameGraphicsWidget
 

The documentation for this class was generated from the following file: