CLASS v1.8.0

Timer

kn::Timer

Declared in kraken/core/Time.hpp

Reference

C++ API

Timer

function
Timer(double duration)

No description in the source header.

~Timer

function
~Timer()=default

No description in the source header.

start

function
void start()

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.

reset

function
void reset()

No description in the source header.

restart

function
void restart()

No description in the source header.

isDone

function
bool isDone() const

No description in the source header.

double timeRemaining() const

No description in the source header.

elapsedTime

function
double elapsedTime() const

No description in the source header.

progress

function
double progress() const

No description in the source header.

getDuration

function
double getDuration() const

No description in the source header.

setDuration

function
void setDuration(double duration)

No description in the source header.

Find your next step

Start typing to search the manual.