Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DTextureData Class Reference

The U4DTextureData class holds texture information for a 3D entity. More...

Public Member Functions

 U4DTextureData ()
 Constructor for the class.
 
 ~U4DTextureData ()
 Destructor for the class.
 
void setTexture0 (std::string uData)
 Method which sets the texture0. More...
 
void setTexture1 (std::string uData)
 Method which sets the texture1. More...
 
void setTexture2 (std::string uData)
 Method which sets the texture2. More...
 
void setTexture3 (std::string uData)
 Method which sets the texture3. More...
 
void setNormalBumpTexture (std::string uData)
 Method which sets the normal-map texture. More...
 

Public Attributes

std::string texture0
 Name of the texture representing the texture0.
 
std::string texture1
 Name of the texture representing the texture1.
 
std::string texture2
 Name of the texture representing the texture2.
 
std::string texture3
 Name of the texture representing the texture3.
 
std::string texture4
 Name of the texture representing the texture4.
 
std::string texture5
 Name of the texture representing the texture5.
 
std::string texture6
 Name of the texture representing the texture6.
 
std::string normalBumpTexture
 Name of the texture representing the normal map texture.
 

Detailed Description

The U4DTextureData class holds texture information for a 3D entity.

Member Function Documentation

◆ setNormalBumpTexture()

void U4DEngine::U4DTextureData::setNormalBumpTexture ( std::string  uData)

Method which sets the normal-map texture.

Parameters
uDatastring data with the name of the normal-map texture

◆ setTexture0()

void U4DEngine::U4DTextureData::setTexture0 ( std::string  uData)

Method which sets the texture0.

Parameters
uDatastring data with the name of the texture

◆ setTexture1()

void U4DEngine::U4DTextureData::setTexture1 ( std::string  uData)

Method which sets the texture1.

Parameters
uDatastring data with the name of the texture

◆ setTexture2()

void U4DEngine::U4DTextureData::setTexture2 ( std::string  uData)

Method which sets the texture2.

Parameters
uDatastring data with the name of the texture

◆ setTexture3()

void U4DEngine::U4DTextureData::setTexture3 ( std::string  uData)

Method which sets the texture3.

Parameters
uDatastring data with the name of the texture