CLASS v1.8.0

Tween

kn::Tween

Declared in kraken/animation/Ease.hpp

Reference

C++ API

startPos

variable
Vec2 startPos {}

No description in the source header.

endPos

variable
Vec2 endPos {}

No description in the source header.

Tween

function
Tween(ease::EasingFunction easeFunc, double duration)

No description in the source header.

~Tween

function
~Tween()

No description in the source header.

Vec2 getCurrentPosition() const

No description in the source header.

pause

function
void pause()

No description in the source header.

resume

function
void resume()

No description in the source header.

restart

function
void restart()

No description in the source header.

reverse

function
void reverse()

No description in the source header.

isDone

function
bool isDone() const

No description in the source header.

Find your next step

Start typing to search the manual.