static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *__ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new UnityEngine.LightProbeProxyVolume();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
Esempio n. 2
0
        static int _g_get_qualityMode(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.LightProbeProxyVolume gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.qualityMode);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
Esempio n. 3
0
        static int _s_set_gridResolutionZ(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.LightProbeProxyVolume gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.gridResolutionZ = LuaAPI.xlua_tointeger(L, 2);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Esempio n. 4
0
        static int _s_set_probeDensity(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                UnityEngine.LightProbeProxyVolume __cl_gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.probeDensity = (float)LuaAPI.lua_tonumber(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Esempio n. 5
0
        static int _g_get_gridResolutionZ(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                UnityEngine.LightProbeProxyVolume __cl_gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, __cl_gen_to_be_invoked.gridResolutionZ);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Esempio n. 6
0
        static int _g_get_originCustom(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                UnityEngine.LightProbeProxyVolume __cl_gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineVector3(L, __cl_gen_to_be_invoked.originCustom);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Esempio n. 7
0
        static int _s_set_refreshMode(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                UnityEngine.LightProbeProxyVolume             gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);
                UnityEngine.LightProbeProxyVolume.RefreshMode gen_value; translator.Get(L, 2, out gen_value);
                gen_to_be_invoked.refreshMode = gen_value;
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(0);
        }
Esempio n. 8
0
        static int _s_set_probePositionMode(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                UnityEngine.LightProbeProxyVolume __cl_gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);
                UnityEngine.LightProbeProxyVolume.ProbePositionMode __cl_gen_value; translator.Get(L, 2, out __cl_gen_value);
                __cl_gen_to_be_invoked.probePositionMode = __cl_gen_value;
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
        static StackObject *Update_24(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.LightProbeProxyVolume instance_of_this_method = (UnityEngine.LightProbeProxyVolume) typeof(UnityEngine.LightProbeProxyVolume).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Update();

            return(__ret);
        }
        static StackObject *get_qualityMode_22(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.LightProbeProxyVolume instance_of_this_method = (UnityEngine.LightProbeProxyVolume) typeof(UnityEngine.LightProbeProxyVolume).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.qualityMode;

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
        static StackObject *get_gridResolutionZ_12(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.LightProbeProxyVolume instance_of_this_method = (UnityEngine.LightProbeProxyVolume) typeof(UnityEngine.LightProbeProxyVolume).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.gridResolutionZ;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value      = result_of_this_method;
            return(__ret + 1);
        }
        static StackObject *set_gridResolutionZ_13(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @value = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            UnityEngine.LightProbeProxyVolume instance_of_this_method = (UnityEngine.LightProbeProxyVolume) typeof(UnityEngine.LightProbeProxyVolume).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.gridResolutionZ = value;

            return(__ret);
        }
Esempio n. 13
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    UnityEngine.LightProbeProxyVolume gen_ret = new UnityEngine.LightProbeProxyVolume();
                    translator.Push(L, gen_ret);

                    return(1);
                }
            }
            catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.LightProbeProxyVolume constructor!"));
        }
 public override void ReadFrom(object obj)
 {
     base.ReadFrom(obj);
     if (obj == null)
     {
         return;
     }
     UnityEngine.LightProbeProxyVolume o = (UnityEngine.LightProbeProxyVolume)obj;
     sizeCustom        = o.sizeCustom;
     originCustom      = o.originCustom;
     boundingBoxMode   = (uint)o.boundingBoxMode;
     resolutionMode    = (uint)o.resolutionMode;
     probePositionMode = (uint)o.probePositionMode;
     refreshMode       = (uint)o.refreshMode;
     probeDensity      = o.probeDensity;
     gridResolutionX   = o.gridResolutionX;
     gridResolutionY   = o.gridResolutionY;
     gridResolutionZ   = o.gridResolutionZ;
 }
Esempio n. 15
0
        static int _m_Update(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            UnityEngine.LightProbeProxyVolume __cl_gen_to_be_invoked = (UnityEngine.LightProbeProxyVolume)translator.FastGetCSObj(L, 1);


            try {
                {
                    __cl_gen_to_be_invoked.Update(  );



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
 public override object WriteTo(object obj, System.Collections.Generic.Dictionary <long, UnityEngine.Object> objects)
 {
     obj = base.WriteTo(obj, objects);
     if (obj == null)
     {
         return(null);
     }
     UnityEngine.LightProbeProxyVolume o = (UnityEngine.LightProbeProxyVolume)obj;
     o.sizeCustom        = sizeCustom;
     o.originCustom      = originCustom;
     o.boundingBoxMode   = (UnityEngine.LightProbeProxyVolume.BoundingBoxMode)boundingBoxMode;
     o.resolutionMode    = (UnityEngine.LightProbeProxyVolume.ResolutionMode)resolutionMode;
     o.probePositionMode = (UnityEngine.LightProbeProxyVolume.ProbePositionMode)probePositionMode;
     o.refreshMode       = (UnityEngine.LightProbeProxyVolume.RefreshMode)refreshMode;
     o.probeDensity      = probeDensity;
     o.gridResolutionX   = gridResolutionX;
     o.gridResolutionY   = gridResolutionY;
     o.gridResolutionZ   = gridResolutionZ;
     return(o);
 }