cCamera_L Class Reference

List of all members.

Public Member Functions

mixed Destroy (...)
mixed SetFOVy (...)
 void SetFOVy (float fAngInRadians)
mixed SetNearClipDistance (...)
 void SetNearClipDistance (float f)
mixed SetFarClipDistance (...)
 void SetFarClipDistance (float f) : 0=infinite
mixed SetAspectRatio (...)
 usually SetAspectRatio(Real(mViewport->getActualWidth()) / Real(mViewport->getActualHeight()))
mixed Move (...)
mixed SetPos (...)
mixed SetRot (...)
mixed GetPos (...)
 for lua : x,y,z GetPos ()
mixed GetRot (...)
 for lua : w,x,y,z GetRot ()
mixed LookAt (...)
mixed GetNearClipDistance (...)
mixed GetFarClipDistance (...)
mixed GetPolygonMode (...)
 camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID
mixed SetPolygonMode (...)
 camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID
mixed GetProjectionType (...)
 camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE
mixed SetProjectionType (...)
 camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE
mixed GetOrthoWindow (...)
 lua: w,h cam:GetOrthoWindow()
mixed SetOrthoWindow (...)
 lua: cam:SetOrthoWindow(w,h = nil)
mixed GetEulerAng (...)
 returns cam rotation as euler angles
mixed EnableReflection (...)
mixed DisableReflection (...)
 lua : void cRenderTexture:DisableReflection ()
mixed IsReflecting (...)
 lua : bool cRenderTexture:IsReflecting ()

Static Public Member Functions

static mixed CreateCamera (...)
static mixed GetMainCam (...)
 udata_cam GetMainCam ()


Detailed Description

Definition at line 7791 of file lua_pseudo_code.cpp.


Member Function Documentation

mixed cCamera_L::Destroy (   ...  )  [inline]

object methods exported to lua todo : rotation, position, aspect ratio, near/farclip... void Destroy ()

Definition at line 7796 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetFOVy (   ...  )  [inline]

void SetFOVy (float fAngInRadians)

Definition at line 7799 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetNearClipDistance (   ...  )  [inline]

void SetNearClipDistance (float f)

Definition at line 7802 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetFarClipDistance (   ...  )  [inline]

void SetFarClipDistance (float f) : 0=infinite

Definition at line 7805 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetAspectRatio (   ...  )  [inline]

usually SetAspectRatio(Real(mViewport->getActualWidth()) / Real(mViewport->getActualHeight()))

Definition at line 7808 of file lua_pseudo_code.cpp.

mixed cCamera_L::Move (   ...  )  [inline]

Definition at line 7810 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetPos (   ...  )  [inline]

Definition at line 7812 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetRot (   ...  )  [inline]

Definition at line 7814 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetPos (   ...  )  [inline]

for lua : x,y,z GetPos ()

Definition at line 7817 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetRot (   ...  )  [inline]

for lua : w,x,y,z GetRot ()

Definition at line 7820 of file lua_pseudo_code.cpp.

mixed cCamera_L::LookAt (   ...  )  [inline]

Definition at line 7822 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetNearClipDistance (   ...  )  [inline]

Definition at line 7824 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetFarClipDistance (   ...  )  [inline]

Definition at line 7826 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetPolygonMode (   ...  )  [inline]

camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID

Definition at line 7829 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetPolygonMode (   ...  )  [inline]

camera polygone mode: kCamera_PM_POINTS,kCamera_PM_WIREFRAME,kCamera_PM_SOLID

Definition at line 7832 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetProjectionType (   ...  )  [inline]

camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE

Definition at line 7835 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetProjectionType (   ...  )  [inline]

camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE

Definition at line 7838 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetOrthoWindow (   ...  )  [inline]

lua: w,h cam:GetOrthoWindow()

Definition at line 7841 of file lua_pseudo_code.cpp.

mixed cCamera_L::SetOrthoWindow (   ...  )  [inline]

lua: cam:SetOrthoWindow(w,h = nil)

Definition at line 7844 of file lua_pseudo_code.cpp.

mixed cCamera_L::GetEulerAng (   ...  )  [inline]

returns cam rotation as euler angles

Definition at line 7847 of file lua_pseudo_code.cpp.

mixed cCamera_L::EnableReflection (   ...  )  [inline]

lua: void cCamera:EnableReflection(x,y,z, nx,ny,nz) switches this render target to reflection mode with the given plane

Definition at line 7851 of file lua_pseudo_code.cpp.

mixed cCamera_L::DisableReflection (   ...  )  [inline]

lua : void cRenderTexture:DisableReflection ()

Definition at line 7854 of file lua_pseudo_code.cpp.

mixed cCamera_L::IsReflecting (   ...  )  [inline]

lua : bool cRenderTexture:IsReflecting ()

Definition at line 7857 of file lua_pseudo_code.cpp.

static mixed cCamera_L::CreateCamera (   ...  )  [inline, static]

static methods exported to lua udata_cam CreateCamera (sSceneMgrName="main",sCamName=uniquename())

Definition at line 7861 of file lua_pseudo_code.cpp.

static mixed cCamera_L::GetMainCam (   ...  )  [inline, static]

udata_cam GetMainCam ()

Definition at line 7864 of file lua_pseudo_code.cpp.


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

Generated on Fri Mar 29 05:41:09 2013 for lua by  doxygen 1.5.6