Camera

A class for managing the camera's position and view in the scene.

  • Camera()
  • Camera(pos: Vec2)
  • Camera(x: float, y: float)

Properties


NameDescriptionType
posThe camera's positionVec2

Methods


Set

set() None

Set the camera as the active camera.