34 virtual ~View() =
default;
36 void setCenter(
float x,
float y,
float z = 0);
39 void setSize(
float width,
float height);
55 void move(
float offsetX,
float offsetY,
float offsetZ = 0);
void setSize(float width, float height)
const FloatRect & getViewport() const
2D view that defines what is shown on screen
void move(float offsetX, float offsetY, float offsetZ=0)
virtual const Vector3f & getPosition() const
const Vector3f & getCenter() const
float getRotation() const
Transform m_viewTransform
void setSize(const Vector2f &size)
void setCenter(float x, float y, float z=0)
void reset(const FloatRect &rectangle)
virtual const Transform & getTransform() const
const Vector2f & getSize() const
bool m_viewTransformUpdated
void setRotation(float angle)
virtual const Transform & getViewTransform() const
void setCenter(const Vector3f &position)
void move(const Vector3f &offset)
void setViewport(const FloatRect &viewport)