public static void PrintTable(LuaState luaState, LuaTable tableToPrint, double indent = default(double), LuaTable done = null) { lock (SyncRoot) { lua_getglobal(luaState, nameof(PrintTable)); lua_pushobject(luaState, tableToPrint); lua_pushnumber(luaState, indent); lua_pushobject(luaState, done); lua_pcall(luaState, 3); } }
public static VMatrix Matrix(LuaTable data) => new VMatrix(data);