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

The U4DMaterialData class holds material information for a 3D entity. More...

Public Member Functions

 U4DMaterialData ()
 Constructor for the class.
 
 ~U4DMaterialData ()
 Destructor for the class.
 
void addDiffuseMaterialDataToContainer (U4DColorData &uData)
 Method which adds diffuse material color information into the container. More...
 
void addSpecularMaterialDataToContainer (U4DColorData &uData)
 Method which adds specular material color information into the container. More...
 
void addDiffuseIntensityMaterialDataToContainer (float &uData)
 Method which add diffuse material intensity information into the container. More...
 
void addSpecularIntensityMaterialDataToContainer (float &uData)
 Method which adds specular material intensity information into the container. More...
 
void addSpecularHardnessMaterialDataToContainer (float &uData)
 Method which adds specular shininess information into the container. More...
 
void addMaterialIndexDataToContainer (float &uData)
 Method which adds material index data into the container. More...
 

Public Attributes

std::vector< U4DColorDatadiffuseMaterialColorContainer
 Container which holds diffuse material color information for the 3D entity.
 
std::vector< U4DColorDataspecularMaterialColorContainer
 Container which holds specular material color information for the 3D entity.
 
std::vector< float > diffuseMaterialIntensityContainer
 Container which holds diffuse material intensity information for the 3D entity.
 
std::vector< float > specularMaterialIntensityContainer
 Container which holds specular material intensity information for the 3D entity.
 
std::vector< float > specularMaterialHardnessContainer
 Container which holds specular material shininess information for the 3D entity.
 
std::vector< float > materialIndexColorContainer
 Container which holds material index information for the 3D entity.
 

Detailed Description

The U4DMaterialData class holds material information for a 3D entity.

Member Function Documentation

◆ addDiffuseIntensityMaterialDataToContainer()

void U4DEngine::U4DMaterialData::addDiffuseIntensityMaterialDataToContainer ( float &  uData)

Method which add diffuse material intensity information into the container.

Parameters
uDataDiffuse intensity data for the 3D entity

◆ addDiffuseMaterialDataToContainer()

void U4DEngine::U4DMaterialData::addDiffuseMaterialDataToContainer ( U4DColorData uData)

Method which adds diffuse material color information into the container.

Parameters
uDataDiffuse material data for the 3D entity

◆ addMaterialIndexDataToContainer()

void U4DEngine::U4DMaterialData::addMaterialIndexDataToContainer ( float &  uData)

Method which adds material index data into the container.

Parameters
uDataMaterial Index data for the 3D entity

◆ addSpecularHardnessMaterialDataToContainer()

void U4DEngine::U4DMaterialData::addSpecularHardnessMaterialDataToContainer ( float &  uData)

Method which adds specular shininess information into the container.

Parameters
uDataSpecular shininess data for the 3D entity

◆ addSpecularIntensityMaterialDataToContainer()

void U4DEngine::U4DMaterialData::addSpecularIntensityMaterialDataToContainer ( float &  uData)

Method which adds specular material intensity information into the container.

Parameters
uDataSpecular intensity data for the 3D entity

◆ addSpecularMaterialDataToContainer()

void U4DEngine::U4DMaterialData::addSpecularMaterialDataToContainer ( U4DColorData uData)

Method which adds specular material color information into the container.

Parameters
uDataSpecular material data for the 3D entity