$darkmode
Component: Per edge Color More...
#include <component.h>
Public Types | |
typedef A | ColorType |
Public Member Functions | |
ColorType & | C () |
const ColorType & | C () const |
const ColorType & | cC () const |
template<class LeftV > | |
void | ImportData (const LeftV &left) |
Static Public Member Functions | |
static bool | HasColor () |
static void | Name (std::vector< std::string > &name) |
Component: Per edge 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.