static public int CopySHCoefficientArraysFrom(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (matchType(l, "CopySHCoefficientArraysFrom__List`1_SphericalHarmonicsL2__Int32__Int32__Int32", argc, 2, typeof(List <UnityEngine.Rendering.SphericalHarmonicsL2>), typeof(int), typeof(int), typeof(int))) { UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l); System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2> a1; checkType(l, 3, out a1); System.Int32 a2; checkType(l, 4, out a2); System.Int32 a3; checkType(l, 5, out a3); System.Int32 a4; checkType(l, 6, out a4); self.CopySHCoefficientArraysFrom(a1, a2, a3, a4); pushValue(l, true); return(1); } else if (matchType(l, "CopySHCoefficientArraysFrom__Arr_SphericalHarmonicsL2__Int32__Int32__Int32", argc, 2, typeof(UnityEngine.Rendering.SphericalHarmonicsL2[]), typeof(int), typeof(int), typeof(int))) { UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l); UnityEngine.Rendering.SphericalHarmonicsL2[] a1; checkArray(l, 3, out a1); System.Int32 a2; checkType(l, 4, out a2); System.Int32 a3; checkType(l, 5, out a3); System.Int32 a4; checkType(l, 6, out a4); self.CopySHCoefficientArraysFrom(a1, a2, a3, a4); pushValue(l, true); return(1); } else if (matchType(l, "CopySHCoefficientArraysFrom__List`1_SphericalHarmonicsL2", argc, 2, typeof(List <UnityEngine.Rendering.SphericalHarmonicsL2>))) { UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l); System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2> a1; checkType(l, 3, out a1); self.CopySHCoefficientArraysFrom(a1); pushValue(l, true); return(1); } else if (matchType(l, "CopySHCoefficientArraysFrom__Arr_SphericalHarmonicsL2", argc, 2, typeof(UnityEngine.Rendering.SphericalHarmonicsL2[]))) { UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l); UnityEngine.Rendering.SphericalHarmonicsL2[] a1; checkArray(l, 3, out a1); self.CopySHCoefficientArraysFrom(a1); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int CopySHCoefficientArraysFrom__A_SphericalHarmonicsL2(IntPtr l) { try { UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l); UnityEngine.Rendering.SphericalHarmonicsL2[] a1; checkArray(l, 2, out a1); self.CopySHCoefficientArraysFrom(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int CopySHCoefficientArraysFrom__List_1_SphericalHarmonicsL2(IntPtr l) { try { UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l); System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2> a1; checkType(l, 2, out a1); self.CopySHCoefficientArraysFrom(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int CopySHCoefficientArraysFrom(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2 && TypeChecker.CheckTypes <System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2> >(L, 2)) { UnityEngine.MaterialPropertyBlock obj = (UnityEngine.MaterialPropertyBlock)ToLua.CheckObject(L, 1, typeof(UnityEngine.MaterialPropertyBlock)); System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2> arg0 = (System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2>)ToLua.ToObject(L, 2); obj.CopySHCoefficientArraysFrom(arg0); return(0); } else if (count == 2 && TypeChecker.CheckTypes <UnityEngine.Rendering.SphericalHarmonicsL2[]>(L, 2)) { UnityEngine.MaterialPropertyBlock obj = (UnityEngine.MaterialPropertyBlock)ToLua.CheckObject(L, 1, typeof(UnityEngine.MaterialPropertyBlock)); UnityEngine.Rendering.SphericalHarmonicsL2[] arg0 = ToLua.ToStructArray <UnityEngine.Rendering.SphericalHarmonicsL2>(L, 2); obj.CopySHCoefficientArraysFrom(arg0); return(0); } else if (count == 5 && TypeChecker.CheckTypes <System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2>, int, int, int>(L, 2)) { UnityEngine.MaterialPropertyBlock obj = (UnityEngine.MaterialPropertyBlock)ToLua.CheckObject(L, 1, typeof(UnityEngine.MaterialPropertyBlock)); System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2> arg0 = (System.Collections.Generic.List <UnityEngine.Rendering.SphericalHarmonicsL2>)ToLua.ToObject(L, 2); int arg1 = (int)LuaDLL.lua_tonumber(L, 3); int arg2 = (int)LuaDLL.lua_tonumber(L, 4); int arg3 = (int)LuaDLL.lua_tonumber(L, 5); obj.CopySHCoefficientArraysFrom(arg0, arg1, arg2, arg3); return(0); } else if (count == 5 && TypeChecker.CheckTypes <UnityEngine.Rendering.SphericalHarmonicsL2[], int, int, int>(L, 2)) { UnityEngine.MaterialPropertyBlock obj = (UnityEngine.MaterialPropertyBlock)ToLua.CheckObject(L, 1, typeof(UnityEngine.MaterialPropertyBlock)); UnityEngine.Rendering.SphericalHarmonicsL2[] arg0 = ToLua.ToStructArray <UnityEngine.Rendering.SphericalHarmonicsL2>(L, 2); int arg1 = (int)LuaDLL.lua_tonumber(L, 3); int arg2 = (int)LuaDLL.lua_tonumber(L, 4); int arg3 = (int)LuaDLL.lua_tonumber(L, 5); obj.CopySHCoefficientArraysFrom(arg0, arg1, arg2, arg3); return(0); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.MaterialPropertyBlock.CopySHCoefficientArraysFrom")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public int CopySHCoefficientArraysFrom__A_SphericalHarmonicsL2__Int32__Int32__Int32(IntPtr l) { try { UnityEngine.MaterialPropertyBlock self = (UnityEngine.MaterialPropertyBlock)checkSelf(l); UnityEngine.Rendering.SphericalHarmonicsL2[] a1; checkArray(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); System.Int32 a3; checkType(l, 4, out a3); System.Int32 a4; checkType(l, 5, out a4); self.CopySHCoefficientArraysFrom(a1, a2, a3, a4); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int CopySHCoefficientArraysFrom(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif int argc = LuaDLL.lua_gettop(l); if(matchType(l,argc,2,typeof(List<UnityEngine.Rendering.SphericalHarmonicsL2>))){ UnityEngine.MaterialPropertyBlock self=(UnityEngine.MaterialPropertyBlock)checkSelf(l); System.Collections.Generic.List<UnityEngine.Rendering.SphericalHarmonicsL2> a1; checkType(l,2,out a1); self.CopySHCoefficientArraysFrom(a1); pushValue(l,true); return 1; } else if(matchType(l,argc,2,typeof(UnityEngine.Rendering.SphericalHarmonicsL2[]))){ UnityEngine.MaterialPropertyBlock self=(UnityEngine.MaterialPropertyBlock)checkSelf(l); UnityEngine.Rendering.SphericalHarmonicsL2[] a1; checkArray(l,2,out a1); self.CopySHCoefficientArraysFrom(a1); pushValue(l,true); return 1; } else if(matchType(l,argc,2,typeof(List<UnityEngine.Rendering.SphericalHarmonicsL2>),typeof(int),typeof(int),typeof(int))){ UnityEngine.MaterialPropertyBlock self=(UnityEngine.MaterialPropertyBlock)checkSelf(l); System.Collections.Generic.List<UnityEngine.Rendering.SphericalHarmonicsL2> a1; checkType(l,2,out a1); System.Int32 a2; checkType(l,3,out a2); System.Int32 a3; checkType(l,4,out a3); System.Int32 a4; checkType(l,5,out a4); self.CopySHCoefficientArraysFrom(a1,a2,a3,a4); pushValue(l,true); return 1; } else if(matchType(l,argc,2,typeof(UnityEngine.Rendering.SphericalHarmonicsL2[]),typeof(int),typeof(int),typeof(int))){ UnityEngine.MaterialPropertyBlock self=(UnityEngine.MaterialPropertyBlock)checkSelf(l); UnityEngine.Rendering.SphericalHarmonicsL2[] a1; checkArray(l,2,out a1); System.Int32 a2; checkType(l,3,out a2); System.Int32 a3; checkType(l,4,out a3); System.Int32 a4; checkType(l,5,out a4); self.CopySHCoefficientArraysFrom(a1,a2,a3,a4); pushValue(l,true); return 1; } pushValue(l,false); LuaDLL.lua_pushstring(l,"No matched override function CopySHCoefficientArraysFrom to call"); return 2; } catch(Exception e) { return error(l,e); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }