static int Clear3D(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); GameAPI.Clear3D(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }