Aego Русский

Pose

struct Pose

Pose is a camera position in world units, a rotation in radians and a zoom in pixels per unit.

On this page

Position field

field Position Vec2

Stores the camera's world-space centre in world units, not screen pixels.

Rotation field

field Rotation float

Stores the camera rotation in radians; blends use the shortest wrapped angular path.

Zoom field

field Zoom float

Stores the positive Camera2D zoom value. Increasing it magnifies the view and reduces the visible world area.