default : Camera2D
Camera
:= []
Camera module - pure 2D camera settings for world-space drawing.
A camera is a value, not a host-owned resource. Build the camera you want
for the current frame and pass it to Draw.with_camera!.
new : Settings -> Camera2D
Place target at the center of a screen with the given size.
A common player-follow camera with a configurable zoom.
with_target : Camera2D, Vec2 -> Camera2D
with_offset : Camera2D, Vec2 -> Camera2D
with_rotation : Camera2D, F32 -> Camera2D
clamp_zoom : Camera2D, { min : F32, max : F32 } -> Camera2D
Camera2D : Settings