Scarab
A thin, game-agnostic 2D engine host built on the sunlight tile-map engine
Loading...
Searching...
No Matches
Scarab::Engine::Lua::LuaCameraApi Class Reference

Camera/viewport/zoom Lua primitives, thin wrappers over ITileMap. More...

#include <luacameraapi.h>

Static Public Member Functions

static void Register (lua_State *pLuaState)
 Register the camera/viewport Lua-callable functions.
 

Detailed Description

Camera/viewport/zoom Lua primitives, thin wrappers over ITileMap.

All camera functions act on the currently loaded map's viewport (tilemap_load_map) — there's no separate "camera object" to create or select.

Member Function Documentation

◆ Register()

void Scarab::Engine::Lua::LuaCameraApi::Register ( lua_State *  pLuaState)
static

Register the camera/viewport Lua-callable functions.


The documentation for this class was generated from the following files: