

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 | GetMeshBuffer (lua_State *L) |
| cBufferedMesh* GetMeshBuffer (sMeshName); for lua | |
| static int | LoadMeshBufferFromFile (lua_State *L) |
| cBufferedMesh* LoadMeshBufferFromFile (sMeshName); for lua | |
| static int | RayPick (lua_State *L) |
| bhit,bhitdist = meshbuffer:RayPick(rx,ry,rz, rvx,rvy,rvz, x,y,z, qw,qx,qy,qz, sx,sy,sz) -- mainly for mousepicking | |
| static int | GetSubMeshCount (lua_State *L) |
| for lua : int GetSubMeshCount () | |
| static int | GetSubMeshMatName (lua_State *L) |
| for lua : string GetSubMeshMatName (iSubMeshIndex) | |
| static int | SetSubMeshMatName (lua_State *L) |
| static int | TransformSubMeshTexCoords (lua_State *L) |
Definition at line 27 of file lugre_meshbuffer_L.cpp.
| virtual void cBufferedMesh_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 31 of file lugre_meshbuffer_L.cpp.
References GetMeshBuffer(), GetSubMeshCount(), GetSubMeshMatName(), LoadMeshBufferFromFile(), PROFILE, RayPick(), REGISTER_METHOD, SetSubMeshMatName(), and TransformSubMeshTexCoords().
| static int cBufferedMesh_L::GetMeshBuffer | ( | lua_State * | L | ) | [inline, static] |
cBufferedMesh* GetMeshBuffer (sMeshName); for lua
Definition at line 47 of file lugre_meshbuffer_L.cpp.
References Lugre::cLuaBind< _T >::CreateUData(), Lugre::GetBufferedMesh(), and PROFILE.
Referenced by RegisterMethods().
| static int cBufferedMesh_L::LoadMeshBufferFromFile | ( | lua_State * | L | ) | [inline, static] |
cBufferedMesh* LoadMeshBufferFromFile (sMeshName); for lua
Definition at line 52 of file lugre_meshbuffer_L.cpp.
References Lugre::cLuaBind< _T >::CreateUData(), Lugre::MeshLoader_LoadFile(), and PROFILE.
Referenced by RegisterMethods().
| static int cBufferedMesh_L::RayPick | ( | lua_State * | L | ) | [inline, static] |
bhit,bhitdist = meshbuffer:RayPick(rx,ry,rz, rvx,rvy,rvz, x,y,z, qw,qx,qy,qz, sx,sy,sz) -- mainly for mousepicking
Definition at line 62 of file lugre_meshbuffer_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int cBufferedMesh_L::GetSubMeshCount | ( | lua_State * | L | ) | [inline, static] |
for lua : int GetSubMeshCount ()
Definition at line 89 of file lugre_meshbuffer_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int cBufferedMesh_L::GetSubMeshMatName | ( | lua_State * | L | ) | [inline, static] |
for lua : string GetSubMeshMatName (iSubMeshIndex)
Definition at line 95 of file lugre_meshbuffer_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int cBufferedMesh_L::SetSubMeshMatName | ( | lua_State * | L | ) | [inline, static] |
for textureatlas mainly for lua : void SetSubMeshMatName (iSubMeshIndex,sNewMatName)
Definition at line 105 of file lugre_meshbuffer_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| static int cBufferedMesh_L::TransformSubMeshTexCoords | ( | lua_State * | L | ) | [inline, static] |
for textureatlas mainly for lua : void TransformSubMeshTexCoords (iSubMeshIndex,u0,v0,u1,v1)
Definition at line 115 of file lugre_meshbuffer_L.cpp.
References Lugre::cLuaBind< _T >::checkudata_alive(), and PROFILE.
Referenced by RegisterMethods().
| virtual const char* cBufferedMesh_L::GetLuaTypeName | ( | ) | [inline, virtual] |
1.5.6