/** * Dump FBX to the given output stream. * * @param file the file to dump. * @param out the output stream where to output. */ public static void dumpFile(FbxFile file, OutputStream out) { Map<FbxId, FbxElement> uidToObjectMap = createUidToObjectMap(file); PrintStream ps = new PrintStream(out); for (FbxElement rootElement : file.rootElements) { dumpElement(rootElement, ps, 0, uidToObjectMap); } }
ps.println(" {"); for (FbxElement childElement : el.children) { dumpElement(childElement, ps, indent + 1, uidToObjectMap);
/** * Dump FBX to the given output stream. * * @param file the file to dump. * @param out the output stream where to output. */ public static void dumpFile(FbxFile file, OutputStream out) { Map<FbxId, FbxElement> uidToObjectMap = createUidToObjectMap(file); PrintStream ps = new PrintStream(out); for (FbxElement rootElement : file.rootElements) { dumpElement(rootElement, ps, 0, uidToObjectMap); } }
ps.println(" {"); for (FbxElement childElement : el.children) { dumpElement(childElement, ps, indent + 1, uidToObjectMap);