QtCraft API C++ classes QML types Handbook

QcTextureSources::Resolved Struct

struct QcTextureSources::Resolved

A texture taken from the source that gives it, with its animation. More...

Header: #include <clientcore/texturepacks/QcTextureSources.h>

Public Functions

QImage strip() const

Public Variables

QcTextureAnimation animation
QImage image
QList<QImage> laterFrames
QString pack

Detailed Description

Member Function Documentation

QImage Resolved::strip() const

Returns all frames as one vertical strip, the first at the top (the form texture packs use).

Member Variable Documentation

QImage Resolved::image

The texture, of an animation its first frame.

QString Resolved::pack

The id of the pack that gave the texture, "" for the content itself.