Class Camera
- Namespace
- AO
- Assembly
- CoreAssembly.dll
Functions for working with the game's camera.
public static class Camera
- Inheritance
-
Camera
- Inherited Members
Methods
CurrentCameraOrthographicSize()
public static extern float CurrentCameraOrthographicSize()
Returns
GetCurrentCameraWorldRect()
public static Rect GetCurrentCameraWorldRect()
Returns
ScreenToWorld(Vector2)
Convert a screen coordinate to world space.
public static extern Vector2 ScreenToWorld(Vector2 screen)
Parameters
screen
Vector2
Returns
WorldToScreen(Vector2)
Convert a world coordinate to screen space.
public static extern Vector2 WorldToScreen(Vector2 world)
Parameters
world
Vector2