

Public Member Functions | |
| virtual void | RegisterMethods (lua_State *L) |
| called by Register(), registers object-methods (see cLuaBind constructor for examples) | |
| virtual const char * | GetLuaTypeName () |
Static Public Member Functions | |
| static int | Destroy (lua_State *L) |
| void Destroy () | |
| static int | SetFOVy (lua_State *L) |
| void SetFOVy (float fAngInRadians) | |
| static int | SetNearClipDistance (lua_State *L) |
| void SetNearClipDistance (float f) | |
| static int | SetFarClipDistance (lua_State *L) |
| void SetFarClipDistance (float f) : 0=infinite | |
| static int | SetAspectRatio (lua_State *L) |
| usually SetAspectRatio(Real(mViewport->getActualWidth()) / Real(mViewport->getActualHeight())) | |
| static int | Move (lua_State *L) |
| static int | SetPos (lua_State *L) |
| static int | SetRot (lua_State *L) |
| static int | GetPos (lua_State *L) |
| for lua : x,y,z GetPos () | |
| static int | GetRot (lua_State *L) |
| for lua : w,x,y,z GetRot () | |
| static int | LookAt (lua_State *L) |
| static int | GetNearClipDistance (lua_State *L) |
| static int | GetFarClipDistance (lua_State *L) |
| static int | GetPolygonMode (lua_State *L) |
| camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID | |
| static int | SetPolygonMode (lua_State *L) |
| camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID | |
| static int | GetProjectionType (lua_State *L) |
| camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE | |
| static int | SetProjectionType (lua_State *L) |
| camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE | |
| static int | GetOrthoWindow (lua_State *L) |
| lua: w,h cam:GetOrthoWindow() | |
| static int | SetOrthoWindow (lua_State *L) |
| lua: cam:SetOrthoWindow(w,h = nil) | |
| static int | GetEulerAng (lua_State *L) |
| returns cam rotation as euler angles | |
| static int | EnableReflection (lua_State *L) |
| static int | DisableReflection (lua_State *L) |
| lua : void cRenderTexture:DisableReflection () | |
| static int | IsReflecting (lua_State *L) |
| lua : bool cRenderTexture:IsReflecting () | |
| static int | CreateCamera (lua_State *L) |
| udata_cam CreateCamera (sSceneMgrName="main",sCamName=uniquename()) | |
| static int | GetMainCam (lua_State *L) |
| udata_cam GetMainCam () | |
Definition at line 53 of file lugre_camera_L.cpp.
| virtual void Lugre::cCamera_L::RegisterMethods | ( | lua_State * | L | ) | [inline, virtual] |
called by Register(), registers object-methods (see cLuaBind constructor for examples)
Reimplemented from Lugre::cLuaBind< _T >.
Definition at line 55 of file lugre_camera_L.cpp.
References CreateCamera(), GetMainCam(), LUABIND_QUICKWRAP, Lugre::cCamera::mpCam, PROFILE, REGISTER_METHOD, and RegisterClassConstant.
| static int Lugre::cCamera_L::Destroy | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::SetFOVy | ( | lua_State * | L | ) | [inline, static] |
void SetFOVy (float fAngInRadians)
Definition at line 111 of file lugre_camera_L.cpp.
References Lugre::cCamera::mpCam, and PROFILE.
| static int Lugre::cCamera_L::SetNearClipDistance | ( | lua_State * | L | ) | [inline, static] |
void SetNearClipDistance (float f)
Definition at line 116 of file lugre_camera_L.cpp.
References Lugre::cCamera::mpCam, and PROFILE.
| static int Lugre::cCamera_L::SetFarClipDistance | ( | lua_State * | L | ) | [inline, static] |
void SetFarClipDistance (float f) : 0=infinite
Definition at line 121 of file lugre_camera_L.cpp.
References Lugre::cCamera::mpCam, and PROFILE.
| static int Lugre::cCamera_L::SetAspectRatio | ( | lua_State * | L | ) | [inline, static] |
usually SetAspectRatio(Real(mViewport->getActualWidth()) / Real(mViewport->getActualHeight()))
Definition at line 127 of file lugre_camera_L.cpp.
References Lugre::cCamera::mpCam, and PROFILE.
| static int Lugre::cCamera_L::Move | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::SetPos | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::SetRot | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::GetPos | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::GetRot | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::LookAt | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::GetNearClipDistance | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::GetFarClipDistance | ( | lua_State * | L | ) | [inline, static] |
| static int Lugre::cCamera_L::GetPolygonMode | ( | lua_State * | L | ) | [inline, static] |
camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID
Definition at line 196 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::SetPolygonMode | ( | lua_State * | L | ) | [inline, static] |
camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID
Definition at line 203 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::GetProjectionType | ( | lua_State * | L | ) | [inline, static] |
camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE
Definition at line 211 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::SetProjectionType | ( | lua_State * | L | ) | [inline, static] |
camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE
Definition at line 218 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::GetOrthoWindow | ( | lua_State * | L | ) | [inline, static] |
lua: w,h cam:GetOrthoWindow()
Definition at line 226 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::SetOrthoWindow | ( | lua_State * | L | ) | [inline, static] |
lua: cam:SetOrthoWindow(w,h = nil)
Definition at line 239 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::GetEulerAng | ( | lua_State * | L | ) | [inline, static] |
returns cam rotation as euler angles
Definition at line 256 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::EnableReflection | ( | lua_State * | L | ) | [inline, static] |
lua: void cCamera:EnableReflection(x,y,z, nx,ny,nz) switches this render target to reflection mode with the given plane
Definition at line 268 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::DisableReflection | ( | lua_State * | L | ) | [inline, static] |
lua : void cRenderTexture:DisableReflection ()
Definition at line 295 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::IsReflecting | ( | lua_State * | L | ) | [inline, static] |
lua : bool cRenderTexture:IsReflecting ()
Definition at line 305 of file lugre_camera_L.cpp.
References PROFILE.
| static int Lugre::cCamera_L::CreateCamera | ( | lua_State * | L | ) | [inline, static] |
udata_cam CreateCamera (sSceneMgrName="main",sCamName=uniquename())
Definition at line 316 of file lugre_camera_L.cpp.
References Lugre::cCamera::cCamera(), Lugre::cOgreWrapper::GetSceneManager(), Lugre::cOgreWrapper::GetSingleton(), Lugre::cOgreWrapper::GetUniqueName(), and PROFILE.
Referenced by RegisterMethods().
| static int Lugre::cCamera_L::GetMainCam | ( | lua_State * | L | ) | [inline, static] |
udata_cam GetMainCam ()
Definition at line 325 of file lugre_camera_L.cpp.
References Lugre::cCamera::cCamera(), Lugre::cOgreWrapper::GetSingleton(), and PROFILE.
Referenced by RegisterMethods().
| virtual const char* Lugre::cCamera_L::GetLuaTypeName | ( | ) | [inline, virtual] |
1.5.6