Camera2D
constructor(raw: ERROR CLASS: Symbol not found for raylib.internal.Camera2D)
constructor(offset: ERROR CLASS: Symbol not found for Pair<kotlin/Float, kotlin/Float> = 0F to 0F, target: ERROR CLASS: Symbol not found for Pair<kotlin/Float, kotlin/Float> = 0F to 0F, rotation: Float = 0.0f, zoom: Float = 1.0f)
Creates a new 2D Camera.
Parameters
offset
The offset of the camera
target
The coordinates of the camera's target
rotation
Camera rotation in degrees
zoom
Camera zoom scale
constructor(ox: Float = 0.0f, oy: Float = 0.0f, targetX: Float = 0.0f, targetY: Float = 0.0f, rotation: Float = 0.0f, zoom: Float = 1.0f)
Creates a new 2D Camera.
Parameters
ox
The X coordinate of the offset
oy
The Y coordinate of the offset
target X
The X coordinate of the camera's target
target Y
The Y coordinate of the camera's target
rotation
Camera rotation in degrees
zoom
Camera zoom scale