QtCraft API C++ classes QML types Handbook

QcTextureAnimation::Frame Struct

struct QcTextureAnimation::Frame

What is shown at a time: frame index, blended by blend (0..1) into frame next. More...

Public Variables

double blend
int index
int next

Detailed Description

Member Variable Documentation

double Frame::blend

Share of next in the blend, 0..1; always 0 without interpolation.

int Frame::index

Frame shown.

int Frame::next

Frame that follows index in the loop.