43 explicit Skin(QString _name);
55 explicit Skin(GLuint _x_plus, GLuint _x_minus, GLuint _y_plus, GLuint _y_minus, GLuint _z_plus, GLuint _z_minus);
62 explicit Skin(GLuint texture);
103 void setTexture(GLuint face, GLuint textureID);
void setName(QString _name)
Set the name of the Skin.
Definition: skin.cpp:69
QString name
Definition: skin.h:216
void setComment(QString _comment)
Set the comment of the Skin.
Definition: skin.cpp:79
GLuint x_minus
Definition: skin.h:219
QString getName()
Returns the name of the Skin.
Definition: skin.cpp:74
GLuint z_minus
Definition: skin.h:223
GLuint getTextureZPlus()
Returns the texture for z+ face.
Definition: skin.cpp:198
QString getComment()
Returns the comment of the Skin.
Definition: skin.cpp:84
void setTextureZPlus(GLuint _z_plus)
Set the texture for z+ face.
Definition: skin.cpp:193
It is the Skin Class.
Definition: skin.h:30
GLuint getTextureYMinus()
Returns the texture for y- face.
Definition: skin.cpp:188
~Skin()
Safely destroy the Skin.
Definition: skin.cpp:59
void setTextureForAllFaces(GLuint all)
Set the same texture for all the faces.
Definition: skin.cpp:213
void setTextureXPlus(GLuint _x_plus)
Set the texture for x+ face.
Definition: skin.cpp:153
Skin()
Create a Skin object.
Definition: skin.cpp:22
GLuint x_plus
Definition: skin.h:218
void setTextureZMinus(GLuint _z_minus)
Set the texture for z- face.
Definition: skin.cpp:203
GLuint getTexture(GLuint face)
Returns the texture for the specified face.
Definition: skin.cpp:119
GLuint y_minus
Definition: skin.h:221
void setTextureYMinus(GLuint _y_minus)
Set the texture for y- face.
Definition: skin.cpp:183
GLuint getTextureXMinus()
Returns the texture for x- face.
Definition: skin.cpp:168
QString toString()
Print a string containing the GLuint textureIDs.
Definition: skin.cpp:223
GLuint getTextureXPlus()
Returns the texture for x+ face.
Definition: skin.cpp:158
GLuint z_plus
Definition: skin.h:222
GLuint getTextureYPlus()
Returns the texture for y+ face.
Definition: skin.cpp:178
void setTextureYPlus(GLuint _y_plus)
Set the texture for y+ face.
Definition: skin.cpp:173
GLuint getTextureZMinus()
Returns the texture for z- face.
Definition: skin.cpp:208
QString comment
Definition: skin.h:217
void setTexture(GLuint face, GLuint textureID)
Set one texture of the Skin.
Definition: skin.cpp:89
GLuint y_plus
Definition: skin.h:220
void setTextureXMinus(GLuint _x_minus)
Set the texture for x- face.
Definition: skin.cpp:163