28 using OpenSim.Region.CoreModules.World.Terrain;
29 using OpenSim.Region.CoreModules.World.Terrain.FileLoaders;
30 using OpenSim.Region.Framework.Scenes;
33 namespace OpenSim.
Region.CoreModules.
World.Serialiser
35 internal class SerialiseTerrain : IFileSerialiser
37 #region IFileSerialiser Members
39 public string WriteToFile(
Scene scene,
string dir)
42 string targetFileName = Path.Combine(dir,
"heightmap.r32");
46 fileSystemExporter.SaveFile(targetFileName, scene.Heightmap);
49 return "heightmap.r32";
ITerrainChannel Heightmap