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

Public Member Functions

 TimeTrack (TimeViewPlugin *plugin)
 
void SetHeight (uint32 height)
 
MCORE_INLINE uint32 GetHeight () const
 
void RenderHeader (QPainter &painter, uint32 width, int32 startY)
 
void RenderData (QPainter &painter, uint32 width, int32 startY, double startTime, double endTime, double animationLength, double clipStartTime, double clipEndTime)
 
MCORE_INLINE size_t GetNumElements () const
 
MCORE_INLINE TimeTrackElementGetElement (size_t index) const
 
void AddElement (TimeTrackElement *elem)
 
void RemoveElement (TimeTrackElement *elem, bool delFromMem=true)
 
void RemoveElement (size_t index, bool delFromMem=true)
 
void RemoveAllElements (bool delFromMem=true)
 
void SetElementCount (size_t count)
 
size_t CalcNumSelectedElements () const
 
TimeTrackElementGetFirstSelectedElement () const
 
void RangeSelectElements (size_t elementStartNr, size_t elementEndNr)
 
void SelectElementsInRect (const QRect &rect, bool overwriteCurSelection, bool select, bool toggleMode)
 
MCORE_INLINE TimeViewPluginGetPlugin ()
 
MCORE_INLINE void SetStartY (uint32 y)
 
MCORE_INLINE uint32 GetStartY () const
 
bool GetIsInside (uint32 y) const
 
void SetName (const char *name)
 
const char * GetName () const
 
bool GetIsEnabled () const
 
void SetIsEnabled (bool enabled)
 
bool GetIsDeletable () const
 
void SetIsDeletable (bool isDeletable)
 
bool GetIsVisible () const
 
void SetIsVisible (bool visible)
 
MCORE_INLINE bool GetIsHighlighted () const
 
MCORE_INLINE void SetIsHighlighted (bool enabled)
 
TimeTrackElementGetElementAt (int32 x, int32 y) const
 

Protected Attributes

AZStd::string m_name
 
uint32 m_height
 
uint32 m_startY
 
QFont m_font
 
QBrush m_brushHeaderBg
 
QColor m_brushDataBg
 
QColor m_brushDataDisabledBg
 
QPen m_penText
 
TimeViewPluginm_plugin
 
AZStd::vector< TimeTrackElement * > m_elements
 
bool m_enabled
 
bool m_visible
 
bool m_deletable
 
bool m_isHighlighted
 

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