Camera
Represents a 2D camera used for rendering.
Constructor
Represents a 2D camera used for rendering.
Properties
| Name | Description | Type |
|---|---|---|
pos | Get or set the camera's position. | Vec2 |
Methods
Set
set() → NoneSet this camera as the active one for rendering.
Only one camera can be active at a time.