Skip to content

Camera

Defined in: camera/camera.ts:11

Where the camera looks, and how closely.

scale: number

Defined in: camera/camera.ts:17

Screen pixels per world unit: bigger is zoomed in.


x: number

Defined in: camera/camera.ts:13

World coordinates of the point currently at the viewport’s centre.


y: number

Defined in: camera/camera.ts:15

As x.