Functions | |
void | Show_Explicit_Color (const char *type, const char *channel, float *rgb, char *texture, char *options) |
void | Show_Net_Explicit_Color (const char *type, const char *channel, float *rgb, char *texture, char *options) |
void | PShow_Net_Explicit_Color (int keycount, const HC_KEY *pathkeys, const char *type, const char *channel, float *rgb, char *texture, char *options) |
void | QShow_Explicit_Color (const char *segment, const char *type, const char *channel, float *rgb, char *texture, char *options) |
void | QShow_Net_Explicit_Color (const char *segment, const char *type, const char *channel, float *rgb, char *texture, char *options) |
void Show_Explicit_Color | ( | const char * | type, | |
const char * | channel, | |||
float * | rgb, | |||
char * | texture, | |||
char * | options | |||
) |
Returns the various components of a color definition.
type | - The type of geometric primitive from which to query color settings. See Set_Color() for a list of types. | |
channel | - The channel for which to query color settings, one of: diffuse color, diffuse texture[=x], specular, bump or transmission. | |
rgb | - The RGB component of the requested color setting. Passed by reference. Returned to user. | |
texture | - The texture component of the requested color setting. Passed by reference. Returned to user. | |
options | - A string that contains information about the RGB component of the color. If the string returned is "ignore color", no RGB component was included in the color definition. If the returned string is "FIndex" then the RGB color component is an FIndex into a colormap. Passed by reference. Returned to user. |
void Show_Net_Explicit_Color | ( | const char * | type, | |
const char * | channel, | |||
float * | rgb, | |||
char * | texture, | |||
char * | options | |||
) |
Similar to Show_Explicit_Color() but returns the net effective color settings rather than the local ones. This will take into account both global definitions and local definitions in the line of ancestral segments directly above the currently open segment.
type | - The type of geometric primitive from which to query color settings. See Set_Color() for a list of types. | |
channel | - The channel for which to query color settings, one of: diffuse color, diffuse texture[=x], specular, bump or transmission. | |
rgb | - The RGB component of the requested color setting. Passed by reference. Returned to user. | |
texture | - The texture component of the requested color setting. Passed by reference. Returned to user. | |
options | - A string that contains information about the RGB component of the color. If the string returned is "ignore color", no RGB component was included in the color definition. If the returned string is "FIndex" then the RGB color component is an FIndex into a colormap. Passed by reference. Returned to user. |
void PShow_Net_Explicit_Color | ( | int | keycount, | |
const HC_KEY * | pathkeys, | |||
const char * | type, | |||
const char * | channel, | |||
float * | rgb, | |||
char * | texture, | |||
char * | options | |||
) |
Similar to Show_Net_Explicit_Color(), but shows the net effective settings along a discrete segment path.
keycount | - The number of HC_KEY's in pathkeys. | |
pathkeys | - An array of HC_KEY's delineating a path of segments. | |
type | - The type of geometric primitive from which to query color settings. See Set_Color() for a list of types. | |
channel | - The channel for which to query color settings, one of: diffuse color, diffuse texture[=x], specular, bump or transmission. | |
rgb | - The RGB component of the requested color setting. Passed by reference. Returned to user. | |
texture | - The texture component of the requested color setting. Passed by reference. Returned to user. | |
options | - A string that contains information about the RGB component of the color. If the string returned is "ignore color", no RGB component was included in the color definition. If the returned string is "FIndex" then the RGB color component is an FIndex into a colormap. Passed by reference. Returned to user. |
For other details, see Show_Net_Explicit_Color().
void QShow_Explicit_Color | ( | const char * | segment, | |
const char * | type, | |||
const char * | channel, | |||
float * | rgb, | |||
char * | texture, | |||
char * | options | |||
) |
Similar to Show_Explicit_Color(), but operates on a given segment rather than the currently open one.
segment | - The segment from on which to query color settings from a specific primitive type. | |
type | - The type of geometric primitive from which to query color settings. See Set_Color() for a list of types. | |
channel | - The channel for which to query color settings, one of: diffuse color, diffuse texture[=x], specular, bump or transmission. | |
rgb | - The RGB component of the requested color setting. Passed by reference. Returned to user. | |
texture | - The texture component of the requested color setting. Passed by reference. Returned to user. | |
options | - A string that contains information about the RGB component of the color. If the string returned is "ignore color", no RGB component was included in the color definition. If the returned string is "FIndex" then the RGB color component is an FIndex into a colormap. Passed by reference. Returned to user. |
void QShow_Net_Explicit_Color | ( | const char * | segment, | |
const char * | type, | |||
const char * | channel, | |||
float * | rgb, | |||
char * | texture, | |||
char * | options | |||
) |
Similar to Show_Net_Explicit_Color(), but operates on a given segment rather than the currently open one.
segment | - The segment from on which to query color settings from a specific primitive type. | |
type | - The type of geometric primitive from which to query color settings. See Set_Color() for a list of types. | |
channel | - The channel for which to query color settings, one of: diffuse color, diffuse texture[=x], specular, bump or transmission. | |
rgb | - The RGB component of the requested color setting. Passed by reference. Returned to user. | |
texture | - The texture component of the requested color setting. Passed by reference. Returned to user. | |
options | - A string that contains information about the RGB component of the color. If the string returned is "ignore color", no RGB component was included in the color definition. If the returned string is "FIndex" then the RGB color component is an FIndex into a colormap. Passed by reference. Returned to user. |