Method SerializeWorldIntoYAML
SerializeWorldIntoYAML(EntityManager, StreamWriter, bool)
Serialize the given World to a YAML file, for logging and analysis purpose
Declaration
public static void SerializeWorldIntoYAML(EntityManager entityManager, StreamWriter writer, bool dumpChunkRawData)
Parameters
Type | Name | Description |
---|---|---|
EntityManager | entityManager | Entity Manager of the World to serialize |
StreamWriter | writer | The stream we will write the data to |
bool | dumpChunkRawData | If |
Remarks
Analysing a serialized sub-scene for instance is not easy because the data is raw binary. It is even harder if we want to compare two distinct serialization of the same sub-scene. This method will allow us to save the data of a given World in YAML. Note that so far the data being saved is not totally complete, it will improve over time.