Public Member Functions

  • FnTween (std::function< void(T)> fn, T startValue, T endValue, float startTime, float duration, EaseFn easeFunction=easeNone, typename Tween< T >::LerpFn lerpFunction=&tweenLerp< T >)
  • void
    update (float relativeTime)
  • T
    getEndValue () const
  • T *
    getTarget () const
  • void
    setLerpFn (const LerpFn &lerpFn)
  • getEaseFn () const
  • void
    setStartFn (StartFn startFunction)
  • getStartFn () const
  • void
    setReverseStartFn (StartFn reverseStartFunction)
  • getReverseStartFn () const
  • void
    setUpdateFn (UpdateFn updateFunction)
  • getUpdateFn () const
  • void
    setFinishFn (FinishFn finishFn)
  • getFinishFn () const
  • void
    setReverseFinishFn (FinishFn reverseFinishFn)
  • getReverseFinishFn () const
  • void
    loopStart ()
  • float
    calcDuration () const
  • thisRef ()

Protected Member Functions

  • void
    reverse ()
  • void
    start (bool reverse)
  • void
    complete (bool reverse)
  • void
    setDurationDirty ()
  • void
    updateDuration () const
  • void
    setTarget (void *target)

Protected Attributes

  • T
    mStartValue
  • T
    mEndValue
  • mLerpFunction
  • mStartFunction
  • mReverseStartFunction
  • mUpdateFunction
  • mFinishFunction
  • mReverseFinishFunction
  • mEaseFunction
  • float
    mDuration
  • bool
    mCopyStartValue
  • class Timeline *
    mParent
  • void *
    mTarget
  • float
    mStartTime
  • bool
    mHasStarted
  • bool
    mHasReverseStarted
  • bool
    mComplete
  • bool
    mReverseComplete
  • bool
    mMarkedForRemoval
  • bool
    mInfinite
  • bool
    mLoop
  • bool
    mPingPong
  • bool
    mUseAbsoluteTime
  • bool
    mAutoRemove
  • int32_t
    mLastLoopIteration