Метод | Описание | |
---|---|---|
LoadFile ( string filename, IScene scene ) : ITerrainChannel | ||
LoadFile ( string filename, IScene scene, int offsetX, int offsetY, int fileWidth, int fileHeight, int sectionWidth, int sectionHeight ) : ITerrainChannel | ||
LoadStream ( Stream s, IScene scene ) : ITerrainChannel | ||
SaveFile ( string filename, ITerrainChannel map ) : void | ||
SaveStream ( Stream stream, ITerrainChannel map ) : void | ||
ToString ( ) : string |
Метод | Описание | |
---|---|---|
ToLittleEndian ( float number ) : byte[] |
Terragen SCAL floats need to be written Intel ordered regardless of big or little Endian system
|
public LoadFile ( string filename, IScene scene ) : ITerrainChannel | ||
filename | string | |
scene | IScene | |
Результат | ITerrainChannel |
public LoadFile ( string filename, IScene scene, int offsetX, int offsetY, int fileWidth, int fileHeight, int sectionWidth, int sectionHeight ) : ITerrainChannel | ||
filename | string | |
scene | IScene | |
offsetX | int | |
offsetY | int | |
fileWidth | int | |
fileHeight | int | |
sectionWidth | int | |
sectionHeight | int | |
Результат | ITerrainChannel |
public LoadStream ( Stream s, IScene scene ) : ITerrainChannel | ||
s | Stream | |
scene | IScene | |
Результат | ITerrainChannel |
public SaveFile ( string filename, ITerrainChannel map ) : void | ||
filename | string | |
map | ITerrainChannel | |
Результат | void |
public SaveStream ( Stream stream, ITerrainChannel map ) : void | ||
stream | Stream | |
map | ITerrainChannel | |
Результат | void |