Polyphase Game Engine
Loading...
Searching...
No Matches
DirectionalLight3d_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 DIRECTIONAL_LIGHT_3D_LUA_NAME "DirectionalLight3D"
15#define DIRECTIONAL_LIGHT_3D_LUA_FLAG "cfDirectionalLight3D"
16#define CHECK_DIRECTIONAL_LIGHT_3D(L, arg) static_cast<DirectionalLight3D*>(CheckNodeLuaType(L, arg, DIRECTIONAL_LIGHT_3D_LUA_NAME, DIRECTIONAL_LIGHT_3D_LUA_FLAG));
17
18struct DirectionalLight3D_Lua
19{
20 static int GetDirection(lua_State* L);
21 static int SetDirection(lua_State* L);
22
23 static void Bind();
24};
25
26#endif