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

The U4DColorData class holds color information for the 3D entity. More...

Public Member Functions

 U4DColorData (float &uRed, float &uGreen, float &uBlue, float &uAlpha)
 Constructor for the class. More...
 
 U4DColorData (const U4DColorData &uValue)
 Copy constructor.
 
U4DColorDataoperator= (const U4DColorData &uValue)
 Copy constructor. More...
 
 ~U4DColorData ()
 Destructor for the class.
 

Public Attributes

float colorData [4] ={0}
 Array holding the four components of a color (red, green, blue, alpha)
 

Detailed Description

The U4DColorData class holds color information for the 3D entity.

Constructor & Destructor Documentation

◆ U4DColorData()

U4DEngine::U4DColorData::U4DColorData ( float &  uRed,
float &  uGreen,
float &  uBlue,
float &  uAlpha 
)

Constructor for the class.

Parameters
uRedRed component of color
uGreenGreen component of color
uBlueBlue component of color
uAlphaAlpha component of color

Member Function Documentation

◆ operator=()

U4DColorData & U4DEngine::U4DColorData::operator= ( const U4DColorData uValue)

Copy constructor.

Parameters
uValueColor object to copy
Returns
Copy of a Color object