C# Класс Topographer.Renderer

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BiomeOverlay bool
ConsiderBiomes bool
CropMap bool
Exclude HashSet
LessMemory bool
LowerLimit int
Only HashSet
Rotate uint
ShowHeight bool
Transparency bool
UpperLimit int

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

GetRegionCount() публичный статический Метод

public static GetRegionCount ( String regionDir ) : int
regionDir String
Результат int

Render() публичный Метод

public Render ( ) : void
Результат void

Renderer() публичный Метод

public Renderer ( String regionDir, String outPath, TextWriter log = null ) : System
regionDir String
outPath String
log System.IO.TextWriter
Результат System

Renderer() публичный Метод

public Renderer ( String regionDir, String outPath, UpdateStatus updateStatus = null, DoneCallback callback = null ) : System
regionDir String
outPath String
updateStatus UpdateStatus
callback DoneCallback
Результат System

Описание свойств

BiomeOverlay публичное свойство

public bool BiomeOverlay
Результат bool

ConsiderBiomes публичное свойство

public bool ConsiderBiomes
Результат bool

CropMap публичное свойство

public bool CropMap
Результат bool

Exclude публичное свойство

public HashSet Exclude
Результат HashSet

LessMemory публичное свойство

public bool LessMemory
Результат bool

LowerLimit публичное свойство

public int LowerLimit
Результат int

Only публичное свойство

public HashSet Only
Результат HashSet

Rotate публичное свойство

public uint Rotate
Результат uint

ShowHeight публичное свойство

public bool ShowHeight
Результат bool

Transparency публичное свойство

public bool Transparency
Результат bool

UpperLimit публичное свойство

public int UpperLimit
Результат int