Model Texture Coordinates Set. More...
#include <deModelTextureCoordinatesSet.h>
Public Member Functions | |
Constructors and Destructors | |
| deModelTextureCoordinatesSet (const char *name) | |
| Creates a new model texture coordinate set. | |
| ~deModelTextureCoordinatesSet () | |
| Cleans up the model texture coordinate set. | |
Management | |
| const char * | GetName () const |
| Retrieves the name. | |
| int | GetFaceCount () const |
| Retrieves the number of faces. | |
| void | SetFaceCount (int count) |
| Sets the number of faces. | |
| const decVector2 & | GetTextureCoordinatesAt (int face, int corner) const |
| Retrieves the texture coordinates at the given face/corner. | |
| void | SetTextureCoordinatesAt (int face, int corner, const decVector2 &textureCoordinates) |
| Sets the texture coordinates at the given index. | |
Model Texture Coordinates Set.
Defines an additional named set of texture coordinates for all faces in the model.
| deModelTextureCoordinatesSet::deModelTextureCoordinatesSet | ( | const char * | name ) |
Creates a new model texture coordinate set.
| deModelTextureCoordinatesSet::~deModelTextureCoordinatesSet | ( | ) |
Cleans up the model texture coordinate set.
| int deModelTextureCoordinatesSet::GetFaceCount | ( | ) | const [inline] |
Retrieves the number of faces.
| const char* deModelTextureCoordinatesSet::GetName | ( | ) | const [inline] |
Retrieves the name.
| const decVector2& deModelTextureCoordinatesSet::GetTextureCoordinatesAt | ( | int | face, |
| int | corner | ||
| ) | const |
Retrieves the texture coordinates at the given face/corner.
| void deModelTextureCoordinatesSet::SetFaceCount | ( | int | count ) |
Sets the number of faces.
| void deModelTextureCoordinatesSet::SetTextureCoordinatesAt | ( | int | face, |
| int | corner, | ||
| const decVector2 & | textureCoordinates | ||
| ) |
Sets the texture coordinates at the given index.
1.7.2