RwSetCameraBackColor(RwCamera *camera, RwReal r, RwReal g, RwReal b);
Description
Sets the cameras background fill color.
Arguments
camera Pointer to the camera.
r Red component of the color in the range CREAL(0.0) to CREAL(1.0).
g Green component of the color in the range CREAL(0.0) to CREAL(1.0).
b Blue component of the color in the range CREAL(0.0) to CREAL(1.0).
Return Value
The argument camera if successful, and NULL otherwise.
Comments
This function is identical to RwSetCameraBackColorStruct() with the exception that it takes individual RwReals for the red, green and blue components of the color rather than an RwRGBColor structure as the color specification.
The background of the cameras viewport is cleared when RwClearCameraViewport() is called.
If the camera does not have a backdrop raster then the cameras entire viewport is filled with the background color. It the camera has a backdrop raster then those areas of the viewport outside the backdrop viewport rectangle will be filled with the background color.
See Also