RwSetCameraBackColorStruct(RwCamera *camera, RwRGBColor *color);
Description
Sets the cameras background fill color.
Arguments
camera Pointer to the camera.
color Pointer to the color.
Return Value
The argument camera if successful, and NULL otherwise.
Comments
This function is identical to RwSetCameraBackColor() with the exception that it takes an RwRGBColor structure as the color specification rather than individual RwReals for the red, green and blue components of the color.
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