#include <background.h>

Public Member Functions | |
| void | setColor (const Color::RGBA &rgba) |
| Sets background color data. | |
| void | setImage (const char *img_source, const char *img_type) |
| Sets background image data. | |
| void | setSize (size_t width, size_t height) |
| Sets background size. | |
| void Cast3dImport::Background::setColor | ( | const Color::RGBA & | rgba | ) | [inline] |
Sets background color data.
| rgba | color object. |
| void Cast3dImport::Background::setImage | ( | const char * | img_source, | |
| const char * | img_type | |||
| ) | [inline] |
Sets background image data.
| img_source | image URL. | |
| img_type | image type for example, 'jpg', 'png', etc. |
| void Cast3dImport::Background::setSize | ( | size_t | width, | |
| size_t | height | |||
| ) | [inline] |
Sets background size.
| width | background width. | |
| height | background height. |