public static void EmitDMeshSO(SceneSerializer s, IOutputStream o, DMeshSO so) { SceneSerializer.EmitOptions opt = s.CurrentOptions; o.AddAttribute(IOStrings.ASOName, so.Name); o.AddAttribute(IOStrings.ASOUuid, so.UUID); s.EmitTransform(o, so); s.EmitMaterial(o, so.GetAssignedSOMaterial()); //s.EmitDMeshBinary(so.Mesh, o); if (opt.MinimalMeshStorage) { s.EmitDMeshCompressed_Minimal(so.Mesh, o); } else { s.EmitDMeshCompressed(so.Mesh, o); } }