$darkmode
Component: Per vertex Color More...
#include <component.h>
  
Public Types | |
| typedef A | ColorType | 
Public Member Functions | |
| const ColorType & | C () const | 
| ColorType & | C () | 
| const ColorType & | cC () const | 
| template<class RightValueType > | |
| void | ImportData (const RightValueType &rVert) | 
Static Public Member Functions | |
| static bool | HasColor () | 
| static void | Name (std::vector< std::string > &name) | 
Component: Per vertex Color
Usually most of the library expects a color stored as 4 unsigned chars (so the component you use is a vertex::Color4b) but you can also use float for the color components.