static int Restore(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)ToLua.CheckObject <Nova.CameraOverlayMask>(L, 1); Nova.IRestoreData arg0 = (Nova.IRestoreData)ToLua.CheckObject <Nova.IRestoreData>(L, 2); obj.Restore(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetRestoreData(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)ToLua.CheckObject <Nova.CameraOverlayMask>(L, 1); Nova.IRestoreData o = obj.GetRestoreData(); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_maskLayer(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; int ret = obj.maskLayer; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index maskLayer on a nil value")); } }
static int get_luaGlobalName(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; string ret = obj.luaGlobalName; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index luaGlobalName on a nil value")); } }
static int set_blitMaterial(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject <UnityEngine.Material>(L, 2); obj.blitMaterial = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index blitMaterial on a nil value")); } }
static int set_maskCamera(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; UnityEngine.Camera arg0 = (UnityEngine.Camera)ToLua.CheckObject(L, 2, typeof(UnityEngine.Camera)); obj.maskCamera = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index maskCamera on a nil value")); } }
static int set_maskLayer(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.maskLayer = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index maskLayer on a nil value")); } }
static int set_luaGlobalName(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; string arg0 = ToLua.CheckString(L, 2); obj.luaGlobalName = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index luaGlobalName on a nil value")); } }
static int get_blitMaterial(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; UnityEngine.Material ret = obj.blitMaterial; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index blitMaterial on a nil value")); } }
static int get_maskCamera(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Nova.CameraOverlayMask obj = (Nova.CameraOverlayMask)o; UnityEngine.Camera ret = obj.maskCamera; ToLua.PushSealed(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index maskCamera on a nil value")); } }