internal static string FormatLODGroup(string name, LODGroup lodGroup, int indent, List <object> visitedObjects = null) { StringWriter writer = new StringWriter(); writer.Write(GetIndentation(indent)); WriteName(name, writer); writer.WriteLine(lodGroup.ToString()); writer.WriteLine(DumpUtils.FormatValue("animateCrossFading", lodGroup.animateCrossFading, indent + 1, visitedObjects)); writer.WriteLine(DumpUtils.FormatValue("fadeMode", lodGroup.fadeMode, indent + 1, visitedObjects)); writer.WriteLine(DumpUtils.FormatValue("localReferencePoint", lodGroup.localReferencePoint, indent + 1, visitedObjects)); writer.WriteLine(DumpUtils.FormatValue("LODs", lodGroup.GetLODs(), indent + 1, visitedObjects)); return(writer.ToString()); }