Open 3D Engine EMotionFX 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.
EMStudio::NodeConnection Class Reference

Inherited by EMStudio::StateConnection.

Public Types

enum  { TYPE_ID = 0x00000001 }
 

Public Member Functions

 NodeConnection (NodeGraph *parentGraph, const QModelIndex &modelIndex, GraphNode *targetNode, AZ::u16 portNr, GraphNode *sourceNode, AZ::u16 sourceOutputPortNr)
 
const QModelIndex & GetModelIndex () const
 
virtual void Render (const QItemSelectionModel &selectionModel, QPainter &painter, QPen *pen, QBrush *brush, int32 stepSize, const QRect &visibleRect, float opacity, bool alwaysColor)
 
virtual bool Intersects (const QRect &rect)
 
virtual bool CheckIfIsCloseTo (const QPoint &point)
 
void UpdatePainterPath ()
 
virtual void Update (const QRect &visibleRect, const QPoint &mousePos)
 
virtual uint32 GetType () const
 
QRect CalcRect () const
 
QRect CalcFinalRect () const
 
QRect GetSourceRect () const
 
QRect GetTargetRect () const
 
QRect CalcCollapsedSourceRect () const
 
QRect CalcCollapsedTargetRect () const
 
bool GetIsSelected () const
 
MCORE_INLINE bool GetIsVisible ()
 
MCORE_INLINE AZ::u16 GetInputPortNr () const
 
MCORE_INLINE AZ::u16 GetOutputPortNr () const
 
MCORE_INLINE GraphNodeGetSourceNode ()
 
MCORE_INLINE GraphNodeGetTargetNode ()
 
MCORE_INLINE bool GetIsSynced () const
 
MCORE_INLINE void SetIsSynced (bool synced)
 
MCORE_INLINE bool GetIsProcessed () const
 
MCORE_INLINE void SetIsProcessed (bool processed)
 
MCORE_INLINE bool GetIsDashed () const
 
MCORE_INLINE void SetIsDashed (bool flag)
 
MCORE_INLINE bool GetIsDisabled () const
 
MCORE_INLINE void SetIsDisabled (bool flag)
 
MCORE_INLINE bool GetIsHighlighted () const
 
MCORE_INLINE void SetIsHighlighted (bool flag)
 
MCORE_INLINE bool GetIsConnectedHighlighted () const
 
MCORE_INLINE void SetIsConnectedHighlighted (bool flag)
 
MCORE_INLINE void SetIsTailHighlighted (bool flag)
 
MCORE_INLINE void SetIsHeadHighlighted (bool flag)
 
MCORE_INLINE bool GetIsTailHighlighted () const
 
MCORE_INLINE bool GetIsHeadHighlighted () const
 
virtual bool CheckIfIsCloseToHead (const QPoint &point) const
 
virtual bool CheckIfIsCloseToTail (const QPoint &point) const
 
virtual void CalcStartAndEndPoints (QPoint &start, QPoint &end) const
 
virtual bool GetIsWildcardTransition () const
 
MCORE_INLINE void SetColor (const QColor &color)
 
MCORE_INLINE const QColor & GetColor () const
 
void SetSourceNode (GraphNode *node)
 
void SetTargetNode (GraphNode *node)
 
void SetTargetPort (AZ::u16 portIndex)
 

Protected Attributes

NodeGraphm_parentGraph = nullptr
 
QPersistentModelIndex m_modelIndex
 
QRect m_rect
 
QRect m_finalRect
 
QColor m_color
 
GraphNodem_sourceNode
 
GraphNodem_targetNode
 
QPainterPath m_painterPath
 
AZ::u16 m_portNr
 
AZ::u16 m_sourcePortNr
 
bool m_isVisible
 
bool m_isProcessed
 
bool m_isDisabled
 
bool m_isDashed
 
bool m_isHighlighted
 
bool m_isHeadHighlighted
 
bool m_isTailHighlighted
 
bool m_isConnectedHighlighted
 
bool m_isSynced
 

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