deModelTextureCoordinatesSet Class Reference

Model Texture Coordinates Set. More...

#include <deModelTextureCoordinatesSet.h>

List of all members.

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 decVector2GetTextureCoordinatesAt (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.

Detailed Description

Model Texture Coordinates Set.

Defines an additional named set of texture coordinates for all faces in the model.

Author:
Plüss Roland
Version:
1.0
Date:
2010

Constructor & Destructor Documentation

deModelTextureCoordinatesSet::deModelTextureCoordinatesSet ( const char *  name )

Creates a new model texture coordinate set.

deModelTextureCoordinatesSet::~deModelTextureCoordinatesSet (  )

Cleans up the model texture coordinate set.


Member Function Documentation

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.


The documentation for this class was generated from the following file: