9 #include "TimelineTypes.h"
31 void SetPreWrap ( WrapMode mode );
32 void SetPostWrap ( WrapMode mode );
33 void SetDuration ( TimeType duration );
35 WrapMode GetPreWrap () {
return m_preWrap; }
36 WrapMode GetPostWrap () {
return m_postWrap; }
40 virtual void Update ()
override;
41 virtual void Start ()
override;
42 virtual void Stop ()
override;
43 virtual void Pause ()
override;
45 virtual void SetTimeline ( TimelineBasePtr& parent )
override;
46 virtual bool IsPaused ()
override;
49 TimeType EvalTime ( TimeType parentTime );
50 TimeType EvalElapsedTime ( TimeType parentTime );
Base class for timelines.
Definition: TimelineBase.h:26
Definition: RelativeTimeline.h:13
TimeType m_offset
Offset relative to parent.
Definition: RelativeTimeline.h:17
TimeType m_duration
Time after which timeline will be wrapped.
Definition: RelativeTimeline.h:18
float m_factor
Enables slow motion.
Definition: RelativeTimeline.h:19