Polyphase Game Engine
Loading...
Searching...
No Matches
SkeletalMesh_Lua.h
Go to the documentation of this file.
1#pragma once
2
3#include "EngineTypes.h"
4#include "Log.h"
5
7
10
11#if LUA_ENABLED
12
13#define SKELETAL_MESH_LUA_NAME "SkeletalMesh"
14#define SKELETAL_MESH_LUA_FLAG "cfSkeletalMesh"
15#define CHECK_SKELETAL_MESH(L, arg) CheckAssetLuaType<SkeletalMesh>(L, arg, SKELETAL_MESH_LUA_NAME, SKELETAL_MESH_LUA_FLAG)
16
17struct SkeletalMesh_Lua
18{
19 static int GetMaterial(lua_State* L);
20 static int SetMaterial(lua_State* L);
21 static int GetNumIndices(lua_State* L);
22 static int GetNumFaces(lua_State* L);
23 static int GetNumVertices(lua_State* L);
24 static int FindBoneIndex(lua_State* L);
25 static int GetNumBones(lua_State* L);
26 static int GetAnimationName(lua_State* L);
27 static int GetNumAnimations(lua_State* L);
28 static int GetAnimationDuration(lua_State* L);
29
30 static void Bind();
31};
32
33#endif