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

Public Member Functions | |
| Viewport (const Area &area=Area()) | |
| Viewport (int x, int y, int width, int height) | |
| void | setArea (const Area &) |
| const Area & | getArea () const |
| Get/set the associated Area object. | |
| void | setAspectRatio (double) |
| double | getAspectRatio () const |
| VRS_TYPEINFO (Viewport, MonoAttribute) | |
| VRS_SERIALIZABLE (Viewport) | |
| VRS::Viewport::Viewport | ( | int | x, | |
| int | y, | |||
| int | width, | |||
| int | height | |||
| ) |
| void VRS::Viewport::setArea | ( | const Area & | c | ) | [inline] |
| void VRS::Viewport::setAspectRatio | ( | double | aspect | ) | [inline] |
| double VRS::Viewport::getAspectRatio | ( | ) | const [inline] |
Get/sets the aspect ratio of the viewport. Used internally by the camera
| VRS::Viewport::VRS_TYPEINFO | ( | Viewport | , | |
| MonoAttribute | ||||
| ) |
| VRS::Viewport::VRS_SERIALIZABLE | ( | Viewport | ) |