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::WrapperNodeLayoutComponent Class Reference

Lays out the parts of the generic Node. More...

#include <WrapperNodeLayoutComponent.h>

Inherits GraphCanvas::NodeLayoutComponent, NodeNotificationBus::MultiHandler, WrapperNodeRequestBus::Handler, StyleNotificationBus::Handler, and SceneMemberNotificationBus::MultiHandler.

Public Member Functions

 AZ_COMPONENT (WrapperNodeLayoutComponent, "{15A56424-0846-45D7-A4C2-ADCAE3E98DE0}", NodeLayoutComponent)
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void SetActionString (const QString &actionString) override
 
AZStd::vector< AZ::EntityId > GetWrappedNodeIds () const override
 
void WrapNode (const AZ::EntityId &nodeId, const WrappedNodeConfiguration &nodeConfiguration) override
 
void UnwrapNode (const AZ::EntityId &nodeId) override
 
void SetWrapperType (const AZ::Crc32 &wrapperType) override
 
AZ::Crc32 GetWrapperType () const override
 
void OnNodeActivated () override
 
void OnAddedToScene (const AZ::EntityId &sceneId) override
 
void OnSceneMemberAboutToSerialize (GraphSerialization &sceneSerialization) override
 
void OnSceneMemberDeserialized (const AZ::EntityId &graphId, const GraphSerialization &sceneSerialization) override
 
void OnRemovedFromScene (const AZ::EntityId &sceneId) override
 
void OnStyleChanged () override
 
- Public Member Functions inherited from GraphCanvas::NodeLayoutComponent
 AZ_COMPONENT (NodeLayoutComponent, "{D3152CCC-1C6D-4E95-829D-0441002440AB}")
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
QGraphicsLayout * GetLayout () override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *)
 
static AZ::Entity * CreateWrapperNodeEntity (const char *nodeType)
 
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::NodeLayoutComponent
static void Reflect (AZ::ReflectContext *context)
 
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)
 

Protected Member Functions

void RefreshActionStyle ()
 
bool ShouldAcceptDrop (const QMimeData *mimeData) const
 
void OnDragLeave () const
 
void OnActionWidgetClicked (const QPointF &scenePoint, const QPoint &screenPoint) const
 
void ClearLayout ()
 
void CreateLayout ()
 
void UpdateLayout ()
 
void RefreshDisplay ()
 
- Protected Member Functions inherited from GraphCanvas::NodeLayoutComponent
template<class T >
T * GetLayoutAs ()
 
template<class T >
const T * GetLayoutAs () const
 

Protected Attributes

Styling::StyleHelper m_styleHelper
 
AZ::Crc32 m_wrapperType
 
AZ::u32 m_elementCounter
 
WrappedNodeConfigurationMap m_wrappedNodeConfigurations
 
WrappedNodeSet m_wrappedNodes
 
QGraphicsLayoutItem * m_title
 
QGraphicsLayoutItem * m_slots
 
WrappedNodeLayout * m_wrappedNodeLayout
 
WrappedNodeActionGraphicsWidget * m_wrapperNodeActionWidget
 
- Protected Attributes inherited from GraphCanvas::NodeLayoutComponent
QGraphicsLayout * m_layout
 

Friends

class AddWrappedNodeGraphicsWidget
 
class WrappedNodeLayout
 

Detailed Description

Lays out the parts of the generic Node.


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