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

Inherits EMStudio::NodeConnection.

Public Types

enum  { TYPE_ID = 0x00000002 }
 
- Public Types inherited from EMStudio::NodeConnection
enum  { TYPE_ID = 0x00000001 }
 

Public Member Functions

 StateConnection (NodeGraph *parentGraph, const QModelIndex &modelIndex, GraphNode *sourceNode, GraphNode *targetNode, bool isWildcardConnection)
 
void Render (const QItemSelectionModel &selectionModel, QPainter &painter, QPen *pen, QBrush *brush, int32 stepSize, const QRect &visibleRect, float opacity, bool alwaysColor) override
 
bool Intersects (const QRect &rect) override
 
bool CheckIfIsCloseTo (const QPoint &point) override
 
void CalcStartAndEndPoints (QPoint &start, QPoint &end) const override
 
bool CheckIfIsCloseToHead (const QPoint &point) const override
 
bool CheckIfIsCloseToTail (const QPoint &point) const override
 
uint32 GetType () const override
 
EMotionFX::AnimGraphTransitionConditionFindCondition (const QPoint &mousePos)
 
bool GetIsWildcardTransition () const override
 
- Public Member Functions inherited from EMStudio::NodeConnection
 NodeConnection (NodeGraph *parentGraph, const QModelIndex &modelIndex, GraphNode *targetNode, AZ::u16 portNr, GraphNode *sourceNode, AZ::u16 sourceOutputPortNr)
 
const QModelIndex & GetModelIndex () const
 
void UpdatePainterPath ()
 
virtual void Update (const QRect &visibleRect, const QPoint &mousePos)
 
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
 
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)
 

Static Public Member Functions

static void RenderTransition (QPainter &painter, QBrush &brush, QPen &pen, QPoint start, QPoint end, const QColor &color, const QColor &activeColor, bool isSelected, bool isDashed, bool isActive, float weight, bool highlightHead, bool gradientActiveIndicator)
 
static void RenderInterruptedTransitions (QPainter &painter, EMStudio::AnimGraphModel &animGraphModel, EMStudio::NodeGraph &nodeGraph)
 

Additional Inherited Members

- Protected Attributes inherited from EMStudio::NodeConnection
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: