메소드 | 설명 | |
---|---|---|
LoadFile ( string filename, IScene scene ) : ITerrainChannel |
Loads a file from a specified filename on the disk, parses the image using the System.Drawing parsers then returns a terrain channel. Values are returned based on HSL brightness between 0m and 128m
|
|
LoadFile ( string filename, IScene scene, int x, int y, int fileWidth, int fileHeight, int w, int h ) : ITerrainChannel | ||
LoadStream ( Stream stream, IScene scene ) : ITerrainChannel | ||
SaveFile ( string filename, ITerrainChannel map ) : void |
Exports a file to a image on the disk using a System.Drawing exporter.
|
|
SaveStream ( Stream stream, ITerrainChannel map ) : void |
Exports a stream using a System.Drawing exporter.
|
|
ToString ( ) : string |
메소드 | 설명 | |
---|---|---|
CreateBitmapFromMap ( ITerrainChannel map ) : |
Protected method, generates a colored bitmap image from a specified terrain channel.
|
|
CreateGrayscaleBitmapFromMap ( ITerrainChannel map ) : |
Protected method, generates a grayscale bitmap image from a specified terrain channel.
|
|
LoadBitmap ( |
protected static CreateBitmapFromMap ( ITerrainChannel map ) : |
||
map | ITerrainChannel | The terrain channel to export to bitmap |
리턴 |
protected static CreateGrayscaleBitmapFromMap ( ITerrainChannel map ) : |
||
map | ITerrainChannel | The terrain channel to export to bitmap |
리턴 |
protected LoadBitmap ( |
||
bitmap | ||
scene | IScene | |
리턴 | ITerrainChannel |
public LoadFile ( string filename, IScene scene ) : ITerrainChannel | ||
filename | string | The target image to load |
scene | IScene | |
리턴 | ITerrainChannel |
public LoadFile ( string filename, IScene scene, int x, int y, int fileWidth, int fileHeight, int w, int h ) : ITerrainChannel | ||
filename | string | |
scene | IScene | |
x | int | |
y | int | |
fileWidth | int | |
fileHeight | int | |
w | int | |
h | int | |
리턴 | ITerrainChannel |
public LoadStream ( Stream stream, IScene scene ) : ITerrainChannel | ||
stream | Stream | |
scene | IScene | |
리턴 | ITerrainChannel |
public SaveFile ( string filename, ITerrainChannel map ) : void | ||
filename | string | The target filename |
map | ITerrainChannel | The terrain channel being saved |
리턴 | void |
public SaveStream ( Stream stream, ITerrainChannel map ) : void | ||
stream | Stream | The target stream |
map | ITerrainChannel | The terrain channel being saved |
리턴 | void |