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 1638 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 1643 of file lua_pseudo_code.cpp.

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

void SetFOVy (float fAngInRadians)

Definition at line 1646 of file lua_pseudo_code.cpp.

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

void SetNearClipDistance (float f)

Definition at line 1649 of file lua_pseudo_code.cpp.

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

void SetFarClipDistance (float f) : 0=infinite

Definition at line 1652 of file lua_pseudo_code.cpp.

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

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

Definition at line 1655 of file lua_pseudo_code.cpp.

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

Definition at line 1657 of file lua_pseudo_code.cpp.

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

Definition at line 1659 of file lua_pseudo_code.cpp.

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

Definition at line 1661 of file lua_pseudo_code.cpp.

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

for lua : x,y,z GetPos ()

Definition at line 1664 of file lua_pseudo_code.cpp.

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

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

Definition at line 1667 of file lua_pseudo_code.cpp.

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

Definition at line 1669 of file lua_pseudo_code.cpp.

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

Definition at line 1671 of file lua_pseudo_code.cpp.

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

Definition at line 1673 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 1676 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 1679 of file lua_pseudo_code.cpp.

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

camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE

Definition at line 1682 of file lua_pseudo_code.cpp.

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

camera projection mode: kCamera_PT_ORTHOGRAPHIC,kCamera_PT_PERSPECTIVE

Definition at line 1685 of file lua_pseudo_code.cpp.

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

lua: w,h cam:GetOrthoWindow()

Definition at line 1688 of file lua_pseudo_code.cpp.

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

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

Definition at line 1691 of file lua_pseudo_code.cpp.

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

returns cam rotation as euler angles

Definition at line 1694 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 1698 of file lua_pseudo_code.cpp.

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

lua : void cRenderTexture:DisableReflection ()

Definition at line 1701 of file lua_pseudo_code.cpp.

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

lua : bool cRenderTexture:IsReflecting ()

Definition at line 1704 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 1708 of file lua_pseudo_code.cpp.

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

udata_cam GetMainCam ()

Definition at line 1711 of file lua_pseudo_code.cpp.


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

Generated on Tue Feb 7 06:00:27 2012 for lua by  doxygen 1.5.6