CLASS v1.8.0

AnimationController

kn::AnimationController

Declared in kraken/animation/AnimationController.hpp

Reference

C++ API

looping

variable
bool looping = true

No description in the source header.

No description in the source header.

No description in the source header.

addStrip

function
void addStrip(uint16_t frameWidth, uint16_t frameHeight, const SheetStrip &strip, uint8_t stripIndex=0)

No description in the source header.

addStrips

function
void addStrips(uint16_t frameWidth, uint16_t frameHeight, const std::vector< SheetStrip > &strips)

No description in the source header.

set

function
void set(const std::string &name)

No description in the source header.

play

function
void play(const std::string &name)

No description in the source header.

replay

function
void replay(const std::string &name)

No description in the source header.

playFrom

function
void playFrom(int frameIndex)

No description in the source header.

getFrameArea

function
const Rect & getFrameArea() const

No description in the source header.

int getFrameIndex() const

No description in the source header.

getProgress

function
double getProgress() const

No description in the source header.

void setPlaybackSpeed(double speed)

No description in the source header.

double getPlaybackSpeed() const

No description in the source header.

isFinished

function
bool isFinished() const

No description in the source header.

std::string getCurrentAnimationName() const

No description in the source header.

rewind

function
void rewind()

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.

Find your next step

Start typing to search the manual.