C# Class Topographer.Renderer

Afficher le fichier Open project: mblaine/Topographer Class Usage Examples

Méthodes publiques

Свойство Type Description
BiomeOverlay bool
ConsiderBiomes bool
CropMap bool
Exclude HashSet
LessMemory bool
LowerLimit int
Only HashSet
Rotate uint
ShowHeight bool
Transparency bool
UpperLimit int

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static GetRegionCount ( String regionDir ) : int
regionDir String
Résultat int

Render() public méthode

public Render ( ) : void
Résultat void

Renderer() public méthode

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

Renderer() public méthode

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

Property Details

BiomeOverlay public_oe property

public bool BiomeOverlay
Résultat bool

ConsiderBiomes public_oe property

public bool ConsiderBiomes
Résultat bool

CropMap public_oe property

public bool CropMap
Résultat bool

Exclude public_oe property

public HashSet Exclude
Résultat HashSet

LessMemory public_oe property

public bool LessMemory
Résultat bool

LowerLimit public_oe property

public int LowerLimit
Résultat int

Only public_oe property

public HashSet Only
Résultat HashSet

Rotate public_oe property

public uint Rotate
Résultat uint

ShowHeight public_oe property

public bool ShowHeight
Résultat bool

Transparency public_oe property

public bool Transparency
Résultat bool

UpperLimit public_oe property

public int UpperLimit
Résultat int