C# Class Topographer.Renderer

Show file Open project: mblaine/Topographer Class Usage Examples

Public Properties

Property Type Description
BiomeOverlay bool
ConsiderBiomes bool
CropMap bool
Exclude HashSet
LessMemory bool
LowerLimit int
Only HashSet
Rotate uint
ShowHeight bool
Transparency bool
UpperLimit int

Public Methods

Method Description
GetRegionCount ( String regionDir ) : int
Render ( ) : void
Renderer ( String regionDir, String outPath, TextWriter log = null ) : System
Renderer ( String regionDir, String outPath, UpdateStatus updateStatus = null, DoneCallback callback = null ) : System

Private Methods

Method Description
AddtoColor ( Color c, int diff ) : Color
Blend ( Color c1, Color c2 ) : Color
Crop ( Bitmap b ) : Bitmap
GetBlock ( TAG_Compound sections, int x, int y, int z ) : byte
GetBlock ( TAG_Compound sections, int x, int y, int z, byte &id, byte &data ) : void
GetHeight ( TAG_Compound sections, int x, int z, int yStart = 255, int yEnd, HashSet only = null, HashSet exclude = null ) : int
GetLight ( TAG_Compound sections, int x, int y, int z ) : byte
RenderChunk ( Chunk c, Bitmap b, int offsetX, int offsetY ) : void
RenderChunkBiomes ( Chunk c, Bitmap b, int offsetX, int offsetY ) : void
RenderRegion ( RegionFile region, Bitmap b, int offsetX, int offsetY ) : Bitmap
RenderRegionBiomes ( RegionFile region, Bitmap b, int offsetX, int offsetY ) : Bitmap

Method Details

GetRegionCount() public static method

public static GetRegionCount ( String regionDir ) : int
regionDir String
return int

Render() public method

public Render ( ) : void
return void

Renderer() public method

public Renderer ( String regionDir, String outPath, TextWriter log = null ) : System
regionDir String
outPath String
log System.IO.TextWriter
return System

Renderer() public method

public Renderer ( String regionDir, String outPath, UpdateStatus updateStatus = null, DoneCallback callback = null ) : System
regionDir String
outPath String
updateStatus UpdateStatus
callback DoneCallback
return System

Property Details

BiomeOverlay public property

public bool BiomeOverlay
return bool

ConsiderBiomes public property

public bool ConsiderBiomes
return bool

CropMap public property

public bool CropMap
return bool

Exclude public property

public HashSet Exclude
return HashSet

LessMemory public property

public bool LessMemory
return bool

LowerLimit public property

public int LowerLimit
return int

Only public property

public HashSet Only
return HashSet

Rotate public property

public uint Rotate
return uint

ShowHeight public property

public bool ShowHeight
return bool

Transparency public property

public bool Transparency
return bool

UpperLimit public property

public int UpperLimit
return int