| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/mirror.h>

Public Member Functions | |
| virtual ID | category () const |
| void | setQuality (double) |
| double | getQuality () const |
| Gets the quality of the mirrored image. | |
| void | setBackground (const Color &) |
| const Color & | getBackground () const |
| Gets the background color of the reflected background. | |
| VRS_TYPEINFO (Mirror, MonoAttribute) | |
| VRS_SERIALIZABLE (Mirror) | |
Protected Member Functions | |
| Mirror (double quality=0.5, const Color &background=Color::black) | |
Concrete implementations of a Mirror class (with a public constructor) are PlanarMirror (for planar reflections) and CubeEnvMirror (for environment reflections).
| VRS::Mirror::Mirror | ( | double | quality = 0.5, |
|
| const Color & | background = Color::black | |||
| ) | [protected] |
| virtual ID VRS::Mirror::category | ( | ) | const [virtual] |
All mirror objects of derived light classes are managed uniformly as Mirror objects by the engine.
Reimplemented from VRS::Attribute.
| void VRS::Mirror::setQuality | ( | double | ) |
Quality sets the brightness of the mirrored image and must be between 0 and 1.
| double VRS::Mirror::getQuality | ( | ) | const |
Gets the quality of the mirrored image.
| void VRS::Mirror::setBackground | ( | const Color & | ) |
Sets the brightness of the reflected background (where no mirrored geometry is visible). This is modulated by the quality, also.
| const Color& VRS::Mirror::getBackground | ( | ) | const |
Gets the background color of the reflected background.
| VRS::Mirror::VRS_TYPEINFO | ( | Mirror | , | |
| MonoAttribute | ||||
| ) |
| VRS::Mirror::VRS_SERIALIZABLE | ( | Mirror | ) |