The full RGBA color of a vertex. More...
#include <RenderMeshAsset.h>
Public Member Functions | |
PX_INLINE | VertexColor (const ColorRGBA c) |
Constructor. | |
PX_INLINE VertexColor & | operator= (const VertexColor &c) |
Copy assignment operator. | |
PX_INLINE void | set (float _r, float _g, float _b, float _a) |
set the color as RGBA floats | |
PX_INLINE ColorRGBA | toColorRGBA () const |
return the color as a 32bit integer | |
Public Attributes | |
float | r |
RED. | |
float | g |
GREEN. | |
float | b |
BLUE. | |
float | a |
ALPHA. |
The full RGBA color of a vertex.