Camera2D

Camera2D, defines position/orientation in 2d space

Members

Variables

offset
Vector2 offset;

Camera offset (displacement from target)

rotation
float rotation;

Camera rotation in degrees

target
Vector2 target;

Camera target (rotation and zoom origin)

zoom
float zoom;

Camera zoom (scaling), should be 1.0f by default

Meta