Camera
A class for managing the camera's position and view in the scene.
-
Camera()
-
Camera(pos: Vec2)
-
Camera(x: float, y: float)
Properties
Name | Description | Type |
---|---|---|
pos | The camera's position | Vec2 |
Methods
Set
set() → None
Set the camera as the active camera.