public static int _bind_rotateTo(Lua.lua_State L) { if (Lua.lua_gettop(L) != 2 || Luna.get_uniqueid(L, 1) != 29625181 || Lua.lua_isnumber(L, 2) == 0) { Luna.printStack(L); Lua.luaL_error(L, "luna typecheck failed:rotateTo(LWF.Movie self)"); } LWF.Movie self = Luna_LWF_Movie.check(L, 1); float degree = (float)Lua.lua_tonumber(L, 2); try { self.RotateTo(degree); } catch (Exception e) { Lua.luaL_error(L, new Lua.CharPtr(e.ToString())); } return(0); }