lugre_scripting_ogre Class Reference

file : ../lugre/src/lugre_scripting.ogre.cpp (this is just a pseudo class used for grouping global functions) More...

List of all members.

Static Public Member Functions

static mixed l_FIFO_RayPickTri_Ex (...)
 bhit,fHitDist,iFaceNum = FIFO_RayPickTri_Ex(fifoVertexBuf,fifoIndexBuf,iNumFaces,iVertexPosOffset,iVertexStride,fBoundRad,rx,ry,rz, rvx,rvy,rvz, x,y,z, qw,qx,qy,qz, sx,sy,sz) -- mainly for mousepicking
static mixed l_ExportOgreFont (...)
 lua : sMatName,tGlyphTable ExportOgreFont (fontname)
static mixed l_CloneMesh (...)
 lua : string CloneMesh (meshname)
static mixed l_MeshBuildEdgeList (...)
 lua : void MeshBuildEdgeList (meshname)
static mixed l_ReloadParticleTemplate (...)
 lua : void ReloadParticleTemplate (sName,sFilePath)
static mixed l_ReloadMesh (...)
 lua : void ReloadMesh (meshname)
static mixed l_TransformSubMeshTexCoords (...)
static mixed l_MeshBuildTangentVectors (...)
 lua : MeshBuildTangentVectors (meshname)
static mixed l_SetMeshSubMaterial (...)
 lua : SetMeshSubMaterial (meshname, index, material )
static mixed l_GetMeshSubMeshCount (...)
 lua : number GetMeshSubMeshCount (meshname )
static mixed l_GetMeshSubMaterial (...)
 lua : string GetMeshSubMaterial (meshname, index )
static mixed l_OgreCreateWindow (...)
static mixed l_InitOgre (...)
 only call this once at startup
static mixed MyLuaReturnStringList (...)
static mixed l_Ogre_ListRenderSystems (...)
 slist Ogre_ListRenderSystems ()
static mixed l_Ogre_SetRenderSystemByName (...)
 void Ogre_SetRenderSystemByName (sRenderSysName)
static mixed l_Ogre_SetConfigOption (...)
 void Ogre_SetConfigOption (sName,sValue)
static mixed l_Ogre_GetConfigOption (...)
 sValue Ogre_GetConfigOption (sName)
static mixed l_Ogre_ListConfigOptionNames (...)
 slist Ogre_ListConfigOptionNames (sRenderSysName)
static mixed l_Ogre_ListPossibleValuesForConfigOption (...)
 slist Ogre_ListPossibleValuesForConfigOption (sRenderSysName,sConfigOptionName)
static mixed l_QuaternionToAngleAxis (...)
 for lua : ang,x,y,z QuaternionToAngleAxis (qw,qx,qy,qz)
static mixed l_QuaternionFromAxes (...)
 for lua : w,x,y,z QuaternionFromAxes ( x1,y1,z1, x2,y2,z2, x3,y3,z3 )
static mixed l_QuaternionFromRotationMatrix (...)
 for lua : w,x,y,z QuaternionFromRotationMatrix ( e00, e01, e02, e10, e11, e12, e20, e21, e22 ) -- eROWCOL
static mixed l_QuaternionSlerp (...)
 for lua : w,x,y,z QuaternionSlerp (qw,qx,qy,qz, pw,px,py,pz, t, bShortestPath=true)
static mixed l_OgreAddCompositor (...)
 void OgreAddCompositor(compositor script name)
static mixed l_OgreRemoveCompositor (...)
 void OgreRemoveCompositor(compositor script name)
static mixed l_OgreCompositor_AddListener_SSAO (...)
 void OgreCompositor_AddListener_SSAO (pViewport,sCompositorName,sCamName,sSceneMgrName="main",iMyPassID=42)
static mixed l_OgreMemoryUsage (...)
static mixed l_OgreMeshAvailable (...)
 bool = OgreMeshAvailable(resourcename)
static mixed l_OgreMaterialNameKnown (...)
static mixed l_OgreMaterialAvailable (...)
 bool = OgreMaterialAvailable(resourcename)
static mixed l_OgreTextureAvailable (...)
 bool = OgreTextureAvailable(resourcename)
static mixed l_Client_SetSkybox (...)
static mixed l_Client_SetFog (...)
static mixed l_Client_RenderOneFrame (...)
static mixed l_Client_SetShadowListener (...)
 for lua : void Client_SetShadowListener (scenemgr=main,nearclip=0.01)
static mixed l_Client_SetAmbientLight (...)
 for lua : void Client_SetAmbientLight (r,g,b,a,scenemgr=main)
static mixed l_Client_ClearLights (...)
 for lua : void Client_ClearLights (scenemgr=main)
static mixed l_Client_AddPointLight (...)
 for lua : string l_Client_AddPointLight(x,y,z) -- x,y,z position
static mixed l_Client_AttachLight (...)
 for lua : void Client_AttachLight(lightname, gfx3d)
static mixed l_Client_DetatchLight (...)
 for lua : void Client_DetatchLight(lightname)
static mixed l_Client_AddDirectionalLight (...)
 for lua : string Client_AddDirectionalLight(x,y,z,scenemgr=main) -- x,y,z direction
static mixed l_Client_SetLightPosition (...)
 for lua : void Client_SetLightPosition(name,x,y,z) -- name lightname, x,y,z position
static mixed l_Client_SetLightDirection (...)
 for lua : void Client_SetLightDirection(name,x,y,z) -- name lightname, x,y,z direction
static mixed l_Client_RemoveLight (...)
 for lua : void Client_RemoveLight(name) -- name lightname
static mixed l_Client_DeleteLight (...)
static mixed l_Client_SetLightSpecularColor (...)
 for lua : void Client_SetLightSpecularColor(name,r,g,b) -- name lightname, r,g,b spec color
static mixed l_Client_SetLightPowerScale (...)
 for lua : void Client_SetLightPowerScale(name,fPowerScale) : used for HDR rendering, in shaders
static mixed l_Client_SetLightDiffuseColor (...)
 for lua : void Client_SetLightDiffuseColor(name,r,g,b) -- name lightname, r,g,b diffuse color
static mixed l_Client_SetLightAttenuation (...)
 for lua : void Client_SetLightAttenuation(name,range,constant,linear,quadratic) -- name lightname
static mixed l_Client_TakeGridScreenshot (...)
 for lua : void Client_TakeGridScreenshot (sPrefix="screenshots/")
static mixed l_Client_TakeScreenshot (...)
 for lua : void Client_TakeScreenshot (sPrefix="screenshots/")
static mixed l_Client_ShowOgreConfig (...)
 shows ogre config dialog
static mixed l_TriangleRayPick (...)
static mixed l_TriangleRayPickEx (...)
static mixed l_SphereRayPick (...)
 for lua : dist = SphereRayPick(x,y,z,rad,rx,ry,rz,rvx,rvy,rvz) -- mainly for mousepicking, dist=nil if not hit
static mixed l_PlaneRayPick (...)
 for lua : dist = PlaneRayPick (x,y,z,nx,ny,nz,rx,ry,rz,rvx,rvy,rvz) -- mainly for mousepicking, dist=nil if not hit
static mixed l_UnloadMeshName (...)
static mixed l_UnloadMaterialName (...)
static mixed l_UnloadTextureName (...)
static mixed l_CountMeshTriangles (...)
static mixed l_MeshGetBounds (...)
 for lua : x1,y1,z1,x2,y2,z2 MeshGetBounds (meshname)
static mixed l_MeshSetBounds (...)
 for lua : void MeshSetBounds (meshname,x1,y1,z1,x2,y2,z2)
static mixed l_MeshGetBoundRad (...)
 for lua : float MeshGetBoundRad (meshname)
static mixed l_MeshSetBoundRad (...)
 for lua : void MeshSetBoundRad (meshname,boundrad)
static mixed l_ExportMesh (...)
 for lua : void ExportMesh (meshname,filename)
static mixed l_TransformMesh (...)
static mixed l_MeshReadOutExactBounds (...)
 for lua : x1,y1,z1,x2,y2,z2 MeshReadOutExactBounds (meshname)
static mixed l_GetScreenRay (...)
 for lua : x,y,z,vx,vy,vz GetScreenRay (x,y) x,y in [0,1]
static mixed l_GetMaxZ (...)
 for lua : z GetMaxZ ()
static mixed l_ProjectPos (...)
 for lua : bIsInFront,px,py ProjectPos (x,y,z)
static mixed l_ProjectSizeAndPos (...)
 for lua : bIsInFront,px,py,cx,cy ProjectSizeAndPos (x,y,z,r)
static mixed l_ProjectSizeAndPosEx (...)
 for lua : px,py,pz,cx,cy,cz ProjectSizeAndPosEx (x,y,z,r)
static mixed l_OgreWrapperSetCustomSceneMgrType (...)
 for lua : void OgreWrapperSetCustomSceneMgrType (sSceneMgrType)
static mixed l_OgreWrapperSetEnableUnicode (...)
 for lua : void OgreWrapperSetEnableUnicode (bState)
static mixed l_OgreSceneMgr_SetWorldGeometry (...)
 for lua : void OgreSceneMgr_SetWorldGeometry (sSceneManagerName,sData) (e.g. terrain:sData="terrain.cfg" filename) (use smgrname=main)
static mixed l_OgreSceneMgr_GetType (...)
static mixed l_OgreSceneMgr_TerrainGetHeightAt (...)
static mixed l_OgreSceneMgr_RaySceneQuery (...)
static mixed l_CreateSceneManager (...)
 for lua : void CreateSceneManager (sSceneManagerName,sSceneMgrType)
static mixed l_OgreMeshTextures (...)
 for lua : table[id=texname...] OgreMeshTextures (meshfile)
static mixed l_OgreLoadedMeshTextures (...)
static mixed l_OgreShadowTechnique (...)
 for lua : void OgreShadowTechnique (string techique)
static mixed l_OgreSetShadowTextureSize (...)
 for lua : void OgreSetShadowTextureSize (int size)
static mixed l_OgreSetShadowFarDistance (...)
 for lua : void OgreSetShadowFarDistance (float x)
static mixed l_OgreSetShadowDirLightTextureOffset (...)
 for lua : void OgreSetShadowDirLightTextureOffset (float x)
static mixed l_OgreSetShadowTextureFadeStart (...)
 for lua : void OgreSetShadowTextureFadeStart (float x)
static mixed l_OgreSetShadowTextureFadeEnd (...)
 for lua : void OgreSetShadowTextureFadeEnd (float x)
static mixed l_OgreSetShadowTexturePixelFormat (...)
 for lua : void OgreSetShadowTexturePixelFormat ()
static mixed l_OgreSetShadowCasterRenderBackFaces (...)
 for lua : void setShadowCasterRenderBackFaces () - new
static mixed l_OgrePixelFormatList (...)
 for lua : table OgrePixelFormatList ()
static mixed l_OgreSetShadowTextureSelfShadow (...)
 for lua : void OgreSetShadowTextureSelfShadow (bool)
static mixed l_OgreSetShadowTextureCasterMaterial (...)
 for lua : void OgreSetShadowTextureCasterMaterial (sMatName)
static mixed l_OgreSetShadowTextureReceiverMaterial (...)
 for lua : void OgreSetShadowTextureReceiverMaterial (sMatName)
static mixed l_OgreAmbientLight (...)
 for lua : void OgreAmbientLight (r,g,b) [color value 0..1 each]
static mixed l_GetUniqueName (...)
 for lua : string GetUniqueName ()
static mixed l_OgreLastFPS (...)
 for lua : number OgreLastFPS ()
static mixed l_OgreAvgFPS (...)
 for lua : number OgreAvgFPS ()
static mixed l_OgreBestFPS (...)
 for lua : number OgreBestFPS ()
static mixed l_OgreWorstFPS (...)
 for lua : number OgreWorstFPS ()
static mixed l_OgreBestFrameTime (...)
 for lua : number OgreBestFrameTime ()
static mixed l_OgreWorstFrameTime (...)
 for lua : number OgreWorstFrameTime ()
static mixed l_OgreTriangleCount (...)
 for lua : number OgreTriangleCount ()
static mixed l_OgreBatchCount (...)
 for lua : number OgreBatchCount ()
static mixed l_OgreRenderSystemIsOpenGL (...)
static mixed l_OgreAddResLoc (...)
static mixed l_OgreInitResLocs (...)
static mixed l_IterateOverMeshTriangles (...)
 for lua : minx,miny,minz, maxx,maxy,maxz IterateOverMeshTriangles (meshname, callback), callback(ax,ay,az, bx,by,bz, cx,cy,cz) triangle coordiantes
static mixed l_FreeOldUnusedParticleSystems (...)
 lua : FreeOldUnusedParticleSystems( limit )
static mixed l_RayAABBQuery (...)
 lua : bhit,bhitdist,aabbhitfacenormalx,aabbhitfacenormaly,aabbhitfacenormalz = RayAABBQuery( x, y, z, dx, dy, dz, aabbx,aabby,aabbz, aabbdx, aabbdy, aabbdz )
static mixed l_Light_SetCastShadows (...)
 lua : void Light_SetCastShadows (sLightName,bool)
static mixed l_OgreSetShadowTextureCount (...)
 lua : void SceneMgr_SetShadowTextureCount (iCount)
static mixed l_OgreSetShadowTextureSettings (...)
static mixed l_MouseGrab (...)
 lua : void MouseGrab (bGrab)
static mixed l_MouseHide (...)
 lua : void MouseHide (bHide)
static mixed l_SetOgreInputOptions (...)
 lua : void SetOgreInputOptions (bHideMouse,bGrabInput)
static mixed l_Client_SetMouseSensitivity (...)
static mixed l_Client_SetInvertMouse (...)
static mixed l_Client_SetCamera (...)
static mixed l_Client_ForceCamRot (...)
static mixed l_Client_CameraLookAt (...)
static mixed l_GetOgreVersion (...)


Detailed Description

file : ../lugre/src/lugre_scripting.ogre.cpp (this is just a pseudo class used for grouping global functions)

Definition at line 11157 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed lugre_scripting_ogre::l_FIFO_RayPickTri_Ex (   ...  )  [inline, static]

bhit,fHitDist,iFaceNum = FIFO_RayPickTri_Ex(fifoVertexBuf,fifoIndexBuf,iNumFaces,iVertexPosOffset,iVertexStride,fBoundRad,rx,ry,rz, rvx,rvy,rvz, x,y,z, qw,qx,qy,qz, sx,sy,sz) -- mainly for mousepicking

Definition at line 11160 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_ExportOgreFont (   ...  )  [inline, static]

lua : sMatName,tGlyphTable ExportOgreFont (fontname)

Definition at line 11163 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_CloneMesh (   ...  )  [inline, static]

lua : string CloneMesh (meshname)

Definition at line 11166 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MeshBuildEdgeList (   ...  )  [inline, static]

lua : void MeshBuildEdgeList (meshname)

Definition at line 11169 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_ReloadParticleTemplate (   ...  )  [inline, static]

lua : void ReloadParticleTemplate (sName,sFilePath)

Definition at line 11172 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_ReloadMesh (   ...  )  [inline, static]

lua : void ReloadMesh (meshname)

Definition at line 11175 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_TransformSubMeshTexCoords (   ...  )  [inline, static]

for texatlas void TransformSubMeshTexCoords (sMeshName,iSubMeshIndex,u0,v0,u1,v1)

Definition at line 11179 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MeshBuildTangentVectors (   ...  )  [inline, static]

lua : MeshBuildTangentVectors (meshname)

Definition at line 11182 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_SetMeshSubMaterial (   ...  )  [inline, static]

lua : SetMeshSubMaterial (meshname, index, material )

Definition at line 11185 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_GetMeshSubMeshCount (   ...  )  [inline, static]

lua : number GetMeshSubMeshCount (meshname )

Definition at line 11188 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_GetMeshSubMaterial (   ...  )  [inline, static]

lua : string GetMeshSubMaterial (meshname, index )

Definition at line 11191 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreCreateWindow (   ...  )  [inline, static]

bool OgreCreateWindow (bConfigRestoreOrDialog) only call this once at startup

Definition at line 11195 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_InitOgre (   ...  )  [inline, static]

only call this once at startup

Definition at line 11198 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::MyLuaReturnStringList (   ...  )  [inline, static]

Definition at line 11200 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Ogre_ListRenderSystems (   ...  )  [inline, static]

slist Ogre_ListRenderSystems ()

Definition at line 11203 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Ogre_SetRenderSystemByName (   ...  )  [inline, static]

void Ogre_SetRenderSystemByName (sRenderSysName)

Definition at line 11206 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Ogre_SetConfigOption (   ...  )  [inline, static]

void Ogre_SetConfigOption (sName,sValue)

Definition at line 11209 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Ogre_GetConfigOption (   ...  )  [inline, static]

sValue Ogre_GetConfigOption (sName)

Definition at line 11212 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Ogre_ListConfigOptionNames (   ...  )  [inline, static]

slist Ogre_ListConfigOptionNames (sRenderSysName)

Definition at line 11215 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Ogre_ListPossibleValuesForConfigOption (   ...  )  [inline, static]

slist Ogre_ListPossibleValuesForConfigOption (sRenderSysName,sConfigOptionName)

Definition at line 11218 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_QuaternionToAngleAxis (   ...  )  [inline, static]

for lua : ang,x,y,z QuaternionToAngleAxis (qw,qx,qy,qz)

Definition at line 11221 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_QuaternionFromAxes (   ...  )  [inline, static]

for lua : w,x,y,z QuaternionFromAxes ( x1,y1,z1, x2,y2,z2, x3,y3,z3 )

Definition at line 11224 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_QuaternionFromRotationMatrix (   ...  )  [inline, static]

for lua : w,x,y,z QuaternionFromRotationMatrix ( e00, e01, e02, e10, e11, e12, e20, e21, e22 ) -- eROWCOL

Definition at line 11227 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_QuaternionSlerp (   ...  )  [inline, static]

for lua : w,x,y,z QuaternionSlerp (qw,qx,qy,qz, pw,px,py,pz, t, bShortestPath=true)

Definition at line 11230 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreAddCompositor (   ...  )  [inline, static]

void OgreAddCompositor(compositor script name)

Definition at line 11233 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreRemoveCompositor (   ...  )  [inline, static]

void OgreRemoveCompositor(compositor script name)

Definition at line 11236 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreCompositor_AddListener_SSAO (   ...  )  [inline, static]

void OgreCompositor_AddListener_SSAO (pViewport,sCompositorName,sCamName,sSceneMgrName="main",iMyPassID=42)

Definition at line 11239 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreMemoryUsage (   ...  )  [inline, static]

int = OgreMemoryUsage(part) part in {compositor,font,gpuprogram,highlevelgpuprogram,material,mesh,skeleton,texture,all} returns memory usage in byte

Definition at line 11244 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreMeshAvailable (   ...  )  [inline, static]

bool = OgreMeshAvailable(resourcename)

Definition at line 11247 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreMaterialNameKnown (   ...  )  [inline, static]

see also OgreMaterialAvailable below bool = OgreMaterialNameKnown(resourcename) returns false if name is empty string or nil

Definition at line 11252 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreMaterialAvailable (   ...  )  [inline, static]

bool = OgreMaterialAvailable(resourcename)

Definition at line 11255 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreTextureAvailable (   ...  )  [inline, static]

bool = OgreTextureAvailable(resourcename)

Definition at line 11258 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetSkybox (   ...  )  [inline, static]

Definition at line 11260 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetFog (   ...  )  [inline, static]

Definition at line 11262 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_RenderOneFrame (   ...  )  [inline, static]

Definition at line 11264 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetShadowListener (   ...  )  [inline, static]

for lua : void Client_SetShadowListener (scenemgr=main,nearclip=0.01)

Definition at line 11267 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetAmbientLight (   ...  )  [inline, static]

for lua : void Client_SetAmbientLight (r,g,b,a,scenemgr=main)

Definition at line 11270 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_ClearLights (   ...  )  [inline, static]

for lua : void Client_ClearLights (scenemgr=main)

Definition at line 11273 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_AddPointLight (   ...  )  [inline, static]

for lua : string l_Client_AddPointLight(x,y,z) -- x,y,z position

Definition at line 11276 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_AttachLight (   ...  )  [inline, static]

for lua : void Client_AttachLight(lightname, gfx3d)

Definition at line 11279 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_DetatchLight (   ...  )  [inline, static]

for lua : void Client_DetatchLight(lightname)

Definition at line 11282 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_AddDirectionalLight (   ...  )  [inline, static]

for lua : string Client_AddDirectionalLight(x,y,z,scenemgr=main) -- x,y,z direction

Definition at line 11285 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetLightPosition (   ...  )  [inline, static]

for lua : void Client_SetLightPosition(name,x,y,z) -- name lightname, x,y,z position

Definition at line 11288 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetLightDirection (   ...  )  [inline, static]

for lua : void Client_SetLightDirection(name,x,y,z) -- name lightname, x,y,z direction

Definition at line 11291 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_RemoveLight (   ...  )  [inline, static]

for lua : void Client_RemoveLight(name) -- name lightname

Definition at line 11294 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_DeleteLight (   ...  )  [inline, static]

Definition at line 11296 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetLightSpecularColor (   ...  )  [inline, static]

for lua : void Client_SetLightSpecularColor(name,r,g,b) -- name lightname, r,g,b spec color

Definition at line 11299 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetLightPowerScale (   ...  )  [inline, static]

for lua : void Client_SetLightPowerScale(name,fPowerScale) : used for HDR rendering, in shaders

Definition at line 11302 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetLightDiffuseColor (   ...  )  [inline, static]

for lua : void Client_SetLightDiffuseColor(name,r,g,b) -- name lightname, r,g,b diffuse color

Definition at line 11305 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetLightAttenuation (   ...  )  [inline, static]

for lua : void Client_SetLightAttenuation(name,range,constant,linear,quadratic) -- name lightname

Definition at line 11308 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_TakeGridScreenshot (   ...  )  [inline, static]

for lua : void Client_TakeGridScreenshot (sPrefix="screenshots/")

Definition at line 11311 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_TakeScreenshot (   ...  )  [inline, static]

for lua : void Client_TakeScreenshot (sPrefix="screenshots/")

Definition at line 11314 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_ShowOgreConfig (   ...  )  [inline, static]

shows ogre config dialog

Definition at line 11317 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_TriangleRayPick (   ...  )  [inline, static]

for lua : dist = TriangleRayPick(ax,ay,az, bx,by,bz, cx,cy,cz, rx,ry,rz, rvx,rvy,rvz) mainly for mousepicking, dist=nil if not hit

Definition at line 11321 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_TriangleRayPickEx (   ...  )  [inline, static]

for lua : dist,fa,fb,fc = TriangleRayPickEx(ax,ay,az, bx,by,bz, cx,cy,cz, rx,ry,rz, rvx,rvy,rvz) like l_TriangleRayPick, but also returns edgefactors fa,fb,fc e.g. for calculating the texcoords at the hit position fa = 1 - fb - fc mainly for mousepicking, dist=nil if not hit

Definition at line 11326 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_SphereRayPick (   ...  )  [inline, static]

for lua : dist = SphereRayPick(x,y,z,rad,rx,ry,rz,rvx,rvy,rvz) -- mainly for mousepicking, dist=nil if not hit

Definition at line 11329 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_PlaneRayPick (   ...  )  [inline, static]

for lua : dist = PlaneRayPick (x,y,z,nx,ny,nz,rx,ry,rz,rvx,rvy,rvz) -- mainly for mousepicking, dist=nil if not hit

Definition at line 11332 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_UnloadMeshName (   ...  )  [inline, static]

Definition at line 11334 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_UnloadMaterialName (   ...  )  [inline, static]

Definition at line 11336 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_UnloadTextureName (   ...  )  [inline, static]

Definition at line 11338 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_CountMeshTriangles (   ...  )  [inline, static]

Definition at line 11340 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MeshGetBounds (   ...  )  [inline, static]

for lua : x1,y1,z1,x2,y2,z2 MeshGetBounds (meshname)

Definition at line 11343 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MeshSetBounds (   ...  )  [inline, static]

for lua : void MeshSetBounds (meshname,x1,y1,z1,x2,y2,z2)

Definition at line 11346 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MeshGetBoundRad (   ...  )  [inline, static]

for lua : float MeshGetBoundRad (meshname)

Definition at line 11349 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MeshSetBoundRad (   ...  )  [inline, static]

for lua : void MeshSetBoundRad (meshname,boundrad)

Definition at line 11352 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_ExportMesh (   ...  )  [inline, static]

for lua : void ExportMesh (meshname,filename)

Definition at line 11355 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_TransformMesh (   ...  )  [inline, static]

applies reposition, rescale and rotation to mesh vertex data for lua : void TransformMesh (meshname, x,y,z, sx,sx,sz, qw,qx,qy,qz)

Definition at line 11359 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MeshReadOutExactBounds (   ...  )  [inline, static]

for lua : x1,y1,z1,x2,y2,z2 MeshReadOutExactBounds (meshname)

Definition at line 11362 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_GetScreenRay (   ...  )  [inline, static]

for lua : x,y,z,vx,vy,vz GetScreenRay (x,y) x,y in [0,1]

Definition at line 11365 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_GetMaxZ (   ...  )  [inline, static]

for lua : z GetMaxZ ()

Definition at line 11368 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_ProjectPos (   ...  )  [inline, static]

for lua : bIsInFront,px,py ProjectPos (x,y,z)

Definition at line 11371 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_ProjectSizeAndPos (   ...  )  [inline, static]

for lua : bIsInFront,px,py,cx,cy ProjectSizeAndPos (x,y,z,r)

Definition at line 11374 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_ProjectSizeAndPosEx (   ...  )  [inline, static]

for lua : px,py,pz,cx,cy,cz ProjectSizeAndPosEx (x,y,z,r)

Definition at line 11377 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreWrapperSetCustomSceneMgrType (   ...  )  [inline, static]

for lua : void OgreWrapperSetCustomSceneMgrType (sSceneMgrType)

Definition at line 11380 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreWrapperSetEnableUnicode (   ...  )  [inline, static]

for lua : void OgreWrapperSetEnableUnicode (bState)

Definition at line 11383 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSceneMgr_SetWorldGeometry (   ...  )  [inline, static]

for lua : void OgreSceneMgr_SetWorldGeometry (sSceneManagerName,sData) (e.g. terrain:sData="terrain.cfg" filename) (use smgrname=main)

Definition at line 11386 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSceneMgr_GetType (   ...  )  [inline, static]

for lua : void OgreSceneMgr_GetType (sSceneManagerName) returns y=height

Definition at line 11390 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSceneMgr_TerrainGetHeightAt (   ...  )  [inline, static]

for lua : void OgreSceneMgr_TerrainGetHeightAt (sSceneManagerName,x,z) x,z = flat, y = heightfield-height. only works for OgreSceneMgr_GetType() = "TerrainSceneManager" returns y=height

Definition at line 11395 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSceneMgr_RaySceneQuery (   ...  )  [inline, static]

for lua : void OgreSceneMgr_RaySceneQuery (sSceneManagerName,x, y, z, dx, dy, dz) (for ogre-terrain-scenemgr, but inefficient, don't use this often) returns x,y,z,dist

Definition at line 11400 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_CreateSceneManager (   ...  )  [inline, static]

for lua : void CreateSceneManager (sSceneManagerName,sSceneMgrType)

Definition at line 11403 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreMeshTextures (   ...  )  [inline, static]

for lua : table[id=texname...] OgreMeshTextures (meshfile)

Definition at line 11406 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreLoadedMeshTextures (   ...  )  [inline, static]

Definition at line 11408 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreShadowTechnique (   ...  )  [inline, static]

for lua : void OgreShadowTechnique (string techique)

Definition at line 11411 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureSize (   ...  )  [inline, static]

for lua : void OgreSetShadowTextureSize (int size)

Definition at line 11414 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowFarDistance (   ...  )  [inline, static]

for lua : void OgreSetShadowFarDistance (float x)

Definition at line 11417 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowDirLightTextureOffset (   ...  )  [inline, static]

for lua : void OgreSetShadowDirLightTextureOffset (float x)

Definition at line 11420 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureFadeStart (   ...  )  [inline, static]

for lua : void OgreSetShadowTextureFadeStart (float x)

Definition at line 11423 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureFadeEnd (   ...  )  [inline, static]

for lua : void OgreSetShadowTextureFadeEnd (float x)

Definition at line 11426 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTexturePixelFormat (   ...  )  [inline, static]

for lua : void OgreSetShadowTexturePixelFormat ()

Definition at line 11429 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowCasterRenderBackFaces (   ...  )  [inline, static]

for lua : void setShadowCasterRenderBackFaces () - new

Definition at line 11432 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgrePixelFormatList (   ...  )  [inline, static]

for lua : table OgrePixelFormatList ()

Definition at line 11435 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureSelfShadow (   ...  )  [inline, static]

for lua : void OgreSetShadowTextureSelfShadow (bool)

Definition at line 11438 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureCasterMaterial (   ...  )  [inline, static]

for lua : void OgreSetShadowTextureCasterMaterial (sMatName)

Definition at line 11441 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureReceiverMaterial (   ...  )  [inline, static]

for lua : void OgreSetShadowTextureReceiverMaterial (sMatName)

Definition at line 11444 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreAmbientLight (   ...  )  [inline, static]

for lua : void OgreAmbientLight (r,g,b) [color value 0..1 each]

Definition at line 11447 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_GetUniqueName (   ...  )  [inline, static]

for lua : string GetUniqueName ()

Definition at line 11450 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreLastFPS (   ...  )  [inline, static]

for lua : number OgreLastFPS ()

Definition at line 11453 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreAvgFPS (   ...  )  [inline, static]

for lua : number OgreAvgFPS ()

Definition at line 11456 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreBestFPS (   ...  )  [inline, static]

for lua : number OgreBestFPS ()

Definition at line 11459 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreWorstFPS (   ...  )  [inline, static]

for lua : number OgreWorstFPS ()

Definition at line 11462 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreBestFrameTime (   ...  )  [inline, static]

for lua : number OgreBestFrameTime ()

Definition at line 11465 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreWorstFrameTime (   ...  )  [inline, static]

for lua : number OgreWorstFrameTime ()

Definition at line 11468 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreTriangleCount (   ...  )  [inline, static]

for lua : number OgreTriangleCount ()

Definition at line 11471 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreBatchCount (   ...  )  [inline, static]

for lua : number OgreBatchCount ()

Definition at line 11474 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreRenderSystemIsOpenGL (   ...  )  [inline, static]

Definition at line 11476 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreAddResLoc (   ...  )  [inline, static]

adds a resource location to example : OgreAddResLoc("./data/SomeZip.zip","Zip","General") example : OgreAddResLoc("./data/base","FileSystem","General")

Definition at line 11481 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreInitResLocs (   ...  )  [inline, static]

Definition at line 11483 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_IterateOverMeshTriangles (   ...  )  [inline, static]

for lua : minx,miny,minz, maxx,maxy,maxz IterateOverMeshTriangles (meshname, callback), callback(ax,ay,az, bx,by,bz, cx,cy,cz) triangle coordiantes

Definition at line 11486 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_FreeOldUnusedParticleSystems (   ...  )  [inline, static]

lua : FreeOldUnusedParticleSystems( limit )

Definition at line 11489 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_RayAABBQuery (   ...  )  [inline, static]

lua : bhit,bhitdist,aabbhitfacenormalx,aabbhitfacenormaly,aabbhitfacenormalz = RayAABBQuery( x, y, z, dx, dy, dz, aabbx,aabby,aabbz, aabbdx, aabbdy, aabbdz )

Definition at line 11492 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Light_SetCastShadows (   ...  )  [inline, static]

lua : void Light_SetCastShadows (sLightName,bool)

Definition at line 11495 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureCount (   ...  )  [inline, static]

lua : void SceneMgr_SetShadowTextureCount (iCount)

Definition at line 11498 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_OgreSetShadowTextureSettings (   ...  )  [inline, static]

iPixelFormat can be constants like PF_X8R8G8B8, available in lua after calling OgrePixelFormatList() (e.g. in main) lua : void SceneMgr_SetShadowTextureSettings (iSize,iCount,iPixelFormat)

Definition at line 11502 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MouseGrab (   ...  )  [inline, static]

lua : void MouseGrab (bGrab)

Definition at line 11505 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_MouseHide (   ...  )  [inline, static]

lua : void MouseHide (bHide)

Definition at line 11508 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_SetOgreInputOptions (   ...  )  [inline, static]

lua : void SetOgreInputOptions (bHideMouse,bGrabInput)

Definition at line 11511 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetMouseSensitivity (   ...  )  [inline, static]

Definition at line 11513 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetInvertMouse (   ...  )  [inline, static]

Definition at line 11515 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_SetCamera (   ...  )  [inline, static]

Definition at line 11517 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_ForceCamRot (   ...  )  [inline, static]

Definition at line 11519 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_Client_CameraLookAt (   ...  )  [inline, static]

Definition at line 11521 of file lua_pseudo_code.cpp.

static mixed lugre_scripting_ogre::l_GetOgreVersion (   ...  )  [inline, static]

>= 0x10600 (1.06.00=1.6.0=shoggoth) lua : int GetOgreVersion ()

Definition at line 11525 of file lua_pseudo_code.cpp.


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

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