#include <render/ddgcolor.h>
Class diagram for ddgColorNode:
Public Members | |||
ddgColorNode ( ddgColor3 *c, float k = 0.0, char* name = 0 ) | |||
Construct a named color from a 3 color vector. | |||
ddgColorNode ( ddgColor4 *c, float k = 0.0, char* name = 0 ) | |||
Construct a named color from a 4 color vector. | |||
float | key (void) | ||
Return the color's index value. | |||
char* | name (void) | ||
Return the color's name. | |||
void | name (char *name) | ||
Set the color's name. | |||
bool | is4 (void) | ||
Return if the color is 4 component colour. | |||
ddgColorNode ( ddgColor3 *c, float k = 0.0, char* name = 0 ) | |||
Construct a named color from a 3 color vector. | |||
ddgColorNode ( ddgColor4 *c, float k = 0.0, char* name = 0 ) | |||
Construct a named color from a 4 color vector. | |||
float | key (void) | ||
Return the color's index value. | |||
char* | name (void) | ||
Return the color's name. | |||
void | name (char *name) | ||
Set the color's name. | |||
bool | is4 (void) | ||
Return if the color is 4 component colour. | |||
ddgColor3* | color3 | ||
ddgColor4* | color4 |