static int _m_DrawWireCube(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.Util.RetainedGizmos.Builder gen_to_be_invoked = (Pathfinding.Util.RetainedGizmos.Builder)translator.FastGetCSObj(L, 1);



                {
                    PF.GraphTransform  _tr = (PF.GraphTransform)translator.GetObject(L, 2, typeof(PF.GraphTransform));
                    UnityEngine.Bounds _bounds; translator.Get(L, 3, out _bounds);
                    UnityEngine.Color  _color; translator.Get(L, 4, out _color);

                    gen_to_be_invoked.DrawWireCube(
                        _tr,
                        _bounds,
                        _color);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_DrawMesh(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.Util.RetainedGizmos.Builder gen_to_be_invoked = (Pathfinding.Util.RetainedGizmos.Builder)translator.FastGetCSObj(L, 1);



                {
                    Pathfinding.Util.RetainedGizmos       _gizmos    = (Pathfinding.Util.RetainedGizmos)translator.GetObject(L, 2, typeof(Pathfinding.Util.RetainedGizmos));
                    UnityEngine.Vector3[]                 _vertices  = (UnityEngine.Vector3[])translator.GetObject(L, 3, typeof(UnityEngine.Vector3[]));
                    System.Collections.Generic.List <int> _triangles = (System.Collections.Generic.List <int>)translator.GetObject(L, 4, typeof(System.Collections.Generic.List <int>));
                    UnityEngine.Color[] _colors = (UnityEngine.Color[])translator.GetObject(L, 5, typeof(UnityEngine.Color[]));

                    gen_to_be_invoked.DrawMesh(
                        _gizmos,
                        _vertices,
                        _triangles,
                        _colors);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_Submit(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.Util.RetainedGizmos.Builder gen_to_be_invoked = (Pathfinding.Util.RetainedGizmos.Builder)translator.FastGetCSObj(L, 1);



                {
                    Pathfinding.Util.RetainedGizmos        _gizmos = (Pathfinding.Util.RetainedGizmos)translator.GetObject(L, 2, typeof(Pathfinding.Util.RetainedGizmos));
                    Pathfinding.Util.RetainedGizmos.Hasher _hasher; translator.Get(L, 3, out _hasher);

                    gen_to_be_invoked.Submit(
                        _gizmos,
                        _hasher);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int _m_DrawLine(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.Util.RetainedGizmos.Builder gen_to_be_invoked = (Pathfinding.Util.RetainedGizmos.Builder)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.Vector3 _start; translator.Get(L, 2, out _start);
                    UnityEngine.Vector3 _end; translator.Get(L, 3, out _end);
                    UnityEngine.Color   _color; translator.Get(L, 4, out _color);

                    gen_to_be_invoked.DrawLine(
                        _start,
                        _end,
                        _color);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    Pathfinding.Util.RetainedGizmos.Builder gen_ret = new Pathfinding.Util.RetainedGizmos.Builder();
                    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 Pathfinding.Util.RetainedGizmos.Builder constructor!"));
        }