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

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

#include <GeneralNodeLayoutComponent.h>

Inherits GraphCanvas::NodeLayoutComponent, NodeNotificationBus::Handler, and StyleNotificationBus::Handler.

Public Member Functions

 AZ_COMPONENT (GeneralNodeLayoutComponent, "{2AD34925-FF0E-4D0D-A371-6338FBAE0F43}", NodeLayoutComponent)
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void OnStyleChanged () override
 
void OnNodeActivated () 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 * CreateGeneralNodeEntity (const char *nodeType, const NodeConfiguration &nodeConfiguration=NodeConfiguration())
 
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 UpdateLayoutParameters ()
 
void UpdateHorizontalLayout ()
 
- Protected Member Functions inherited from GraphCanvas::NodeLayoutComponent
template<class T >
T * GetLayoutAs ()
 
template<class T >
const T * GetLayoutAs () const
 

Protected Attributes

QGraphicsLinearLayout * m_title
 
QGraphicsLinearLayout * m_slots
 
QGraphicsLinearLayout * m_inputSlots
 
QGraphicsLinearLayout * m_outputSlots
 
- Protected Attributes inherited from GraphCanvas::NodeLayoutComponent
QGraphicsLayout * m_layout
 

Detailed Description

Lays out the parts of the generic Node.


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