TweenBase /

#includecinder/Tween.h

Public Member Functions

  • TweenBase (void *target, bool copyStartValue, float startTime, float duration, EaseFn easeFunction=easeNone)
  • ~TweenBase ()
  • 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
    start (bool reverse)=0
  • void
    loopStart ()
  • void
    update (float relativeTime)=0
  • float
    calcDuration () const
  • void
    reverse ()=0
  • thisRef ()

Protected Member Functions

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

Protected Attributes

  • 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