CLASS v1.8.0

Camera

kn::Camera

Declared in kraken/graphics/Camera.hpp

Reference

C++ API

transform

variable
Transform transform {}

No description in the source header.

active

variable
static Camera * active

No description in the source header.

Camera

function
Camera(bool setActive=false)

No description in the source header.

~Camera

function
~Camera()

No description in the source header.

moveWorld

function
void moveWorld(const Vec2 &worldDelta)

No description in the source header.

moveScreen

function
void moveScreen(const Vec2 &screenDelta)

No description in the source header.

rotate

function
void rotate(double delta)

No description in the source header.

Vec2 worldToScreen(const Vec2 &worldPos) const

No description in the source header.

Vec2 screenToWorld(const Vec2 &screenPos) const

No description in the source header.

set

function
void set()

No description in the source header.

unset

function
void unset()

No description in the source header.

Find your next step

Start typing to search the manual.