#include <View.hpp>
Public Member Functions | |
View (const FloatRect &ViewRect=FloatRect(0, 0, 1000, 1000), float ViewZoom=1.f) | |
Construct the view with position and size. | |
Public Attributes | |
FloatRect | Rect |
Rectangle defining the view's position and size. | |
float | Zoom |
Zoom (less than 1 is unzoom, greater than 1 is zoom). |
Definition at line 41 of file View.hpp.
Construct the view with position and size.
ViewRect | : Rectangle defining the position and size of the view | |
ViewZoom | : Zoom factor (1 by default) |
float sf::View::Zoom |