#include <l_camera.h>
|
template<> |
bool | readParam (lua_State *L, int index) |
|
static bool | isNaN (lua_State *L, int idx) |
|
template<typename T > |
static T | readParam (lua_State *L, int index) |
| Read a value using a template type T from Lua State L and index. More...
|
|
template<typename T > |
static T | readParam (lua_State *L, int index, const T &default_value) |
| Read a value using a template type T from Lua State L and index. More...
|
|
◆ LuaCamera()
LuaCamera::LuaCamera |
( |
Camera * |
m | ) |
|
◆ ~LuaCamera()
LuaCamera::~LuaCamera |
( |
| ) |
|
|
default |
◆ checkobject()
LuaCamera * LuaCamera::checkobject |
( |
lua_State * |
L, |
|
|
int |
narg |
|
) |
| |
|
static |
◆ create()
void LuaCamera::create |
( |
lua_State * |
L, |
|
|
Camera * |
m |
|
) |
| |
|
static |
◆ gc_object()
int LuaCamera::gc_object |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ getobject() [1/2]
Camera * LuaCamera::getobject |
( |
lua_State * |
L, |
|
|
int |
narg |
|
) |
| |
|
static |
◆ getobject() [2/2]
◆ l_get_aspect_ratio()
int LuaCamera::l_get_aspect_ratio |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_camera_mode()
int LuaCamera::l_get_camera_mode |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_fov()
int LuaCamera::l_get_fov |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_look_dir()
int LuaCamera::l_get_look_dir |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_look_horizontal()
int LuaCamera::l_get_look_horizontal |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_look_vertical()
int LuaCamera::l_get_look_vertical |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_offset()
int LuaCamera::l_get_offset |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_get_pos()
int LuaCamera::l_get_pos |
( |
lua_State * |
L | ) |
|
|
staticprivate |
◆ l_set_camera_mode()
int LuaCamera::l_set_camera_mode |
( |
lua_State * |
L | ) |
|
|
staticprivate |
References CAMERA_MODE_FIRST, Camera::getCameraMode(), LocalPlayer::getCAO(), ModApiBase::getClient(), Client::getEnv(), ClientEnvironment::getLocalPlayer(), getobject(), sanity_check, Camera::setCameraMode(), GenericCAO::setChildrenVisible(), and GenericCAO::updateMeshCulling().
◆ Register()
void LuaCamera::Register |
( |
lua_State * |
L | ) |
|
|
static |
◆ className
const char LuaCamera::className = "Camera" |
|
staticprivate |
◆ m_camera
Camera* LuaCamera::m_camera = nullptr |
|
private |
◆ methods
const luaL_Reg LuaCamera::methods |
|
staticprivate |
Initial value:= {
{0, 0}
}
Definition: l_camera.h:27
#define luamethod(class, name)
Definition: l_internal.h:31
Referenced by Register().
The documentation for this class was generated from the following files: