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

#include <ConnectionVisualComponent.h>

Inherits AZ::Component, VisualRequestBus::Handler, and SceneMemberUIRequestBus::Handler.

Inherited by GraphCanvas::DataConnectionVisualComponent.

Public Member Functions

 AZ_COMPONENT (ConnectionVisualComponent, "{BF9691F8-7EF8-4A94-9321-2EB877634D22}")
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
QGraphicsItem * AsGraphicsItem () override
 
bool Contains (const AZ::Vector2 &point) const override
 
void SetVisible (bool visible) override
 
bool IsVisible () const override
 
QGraphicsItem * GetRootGraphicsItem () override
 
QGraphicsLayoutItem * GetRootGraphicsLayoutItem () override
 
void SetSelected (bool selected) override
 
bool IsSelected () const override
 
QPainterPath GetOutline () const override
 
void SetZValue (qreal zValue) override
 
qreal GetZValue () const override
 

Static Public Member Functions

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

virtual void CreateConnectionVisual ()
 

Protected Attributes

AZStd::unique_ptr< ConnectionGraphicsItemm_connectionGraphicsItem
 

Friends

class ConnectionVisualGraphicsItem
 

Detailed Description

The NodeVisual is the QGraphicsItem for a given node, any components that are created on a Node will all be children QGraphicsItem of this one.


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