Tweener

Description

Properties

        TweenState   TweenState
    Display the playing status of Tween Animation (Delay, Playing, Pause, Cancel, Finish).

        TweenInfo    TweenParamInfo
    Including information about how to perform Tween Animation by using tween data.

        RWObject   Object
    The object which Tween Animation applied.

Functions

    Play()
    Plays the Tween animation from the current time position. When the Tween Animation finishes playing, it can be replayed by using Restart.

    Pause()
    Pauses the Tween animation.

    Stop()
    Stops the Tween animation.

    OnLoop(callback)
    When the Tween animation is looping, calls the function that passes in the parameter.

    Oncomplate(callback)
    When the Tween animation finishes playing, calls the function that passes in the parameter.