static int _m_HitTest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.RoundedRectMesh gen_to_be_invoked = (FairyGUI.RoundedRectMesh)translator.FastGetCSObj(L, 1); { UnityEngine.Rect _contentRect; translator.Get(L, 2, out _contentRect); UnityEngine.Vector2 _point; translator.Get(L, 3, out _point); bool gen_ret = gen_to_be_invoked.HitTest( _contentRect, _point); LuaAPI.lua_pushboolean(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _s_set_bottomRightRadius(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.RoundedRectMesh gen_to_be_invoked = (FairyGUI.RoundedRectMesh)translator.FastGetCSObj(L, 1); gen_to_be_invoked.bottomRightRadius = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_topRightRadius(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.RoundedRectMesh gen_to_be_invoked = (FairyGUI.RoundedRectMesh)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, gen_to_be_invoked.topRightRadius); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _g_get_fillColor(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.RoundedRectMesh gen_to_be_invoked = (FairyGUI.RoundedRectMesh)translator.FastGetCSObj(L, 1); translator.PushAny(L, gen_to_be_invoked.fillColor); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_fillColor(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.RoundedRectMesh gen_to_be_invoked = (FairyGUI.RoundedRectMesh)translator.FastGetCSObj(L, 1); System.Nullable <UnityEngine.Color32> gen_value; translator.Get(L, 2, out gen_value); gen_to_be_invoked.fillColor = gen_value; } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.RoundedRectMesh gen_ret = new FairyGUI.RoundedRectMesh(); 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 FairyGUI.RoundedRectMesh constructor!")); }
static int _m_OnPopulateMesh(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.RoundedRectMesh gen_to_be_invoked = (FairyGUI.RoundedRectMesh)translator.FastGetCSObj(L, 1); { FairyGUI.VertexBuffer _vb = (FairyGUI.VertexBuffer)translator.GetObject(L, 2, typeof(FairyGUI.VertexBuffer)); gen_to_be_invoked.OnPopulateMesh(_vb); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }