|
|
|
|
|
|
m_AnnotationSerializer = JsonSerializer.CreateDefault(); |
|
|
|
m_AnnotationSerializer.Converters.Add(new Vector3Converter()); |
|
|
|
m_AnnotationSerializer.Converters.Add(new QuaternionConverter()); |
|
|
|
|
|
|
|
m_OutputDirectoryName = outputDirectory; |
|
|
|
IsRunning = true; |
|
|
|
} |
|
|
|
|
|
|
return q; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[SuppressMessage("ReSharper", "PossibleInvalidOperationException")] |
|
|
|
public class Vector3Converter : JsonConverter<Vector3> |
|
|
|
{ |
|
|
|
|
|
|
return outVector; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void ReportAsyncAnnotationResult<T>(AsyncAnnotation asyncAnnotation, string filename = null, IEnumerable<T> values = null) |
|
|
|
{ |
|
|
|
JArray jArray = null; |
|
|
|