Polyphase Game Engine
Loading...
Searching...
No Matches
SpotLight3d_Lua.h
Go to the documentation of this file.
1#pragma once
2
3#include "EngineTypes.h"
4#include "Log.h"
5#include "Engine.h"
6
8
11
12#if LUA_ENABLED
13
14#define SPOT_LIGHT_3D_LUA_NAME "SpotLight3D"
15#define SPOT_LIGHT_3D_LUA_FLAG "cfSpotLight3D"
16#define CHECK_SPOT_LIGHT_3D(L, arg) static_cast<SpotLight3D*>(CheckNodeLuaType(L, arg, SPOT_LIGHT_3D_LUA_NAME, SPOT_LIGHT_3D_LUA_FLAG));
17
18struct SpotLight3D_Lua
19{
20 static int SetInnerAngle(lua_State* L);
21 static int GetInnerAngle(lua_State* L);
22 static int SetOuterAngle(lua_State* L);
23 static int GetOuterAngle(lua_State* L);
24 static int GetDirection(lua_State* L);
25 static int SetDirection(lua_State* L);
26
27 static void Bind();
28};
29
30#endif