C# Class Universe.Modules.WorldMap.TexturedMapTileRenderer

Inheritance: IMapTileTerrainRenderer
Datei anzeigen Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
Initialize ( IScene scene, IConfigSource source ) : void
TerrainToBitmap ( Bitmap mapbmp ) : Bitmap

Private Methods

Method Description
DeserializeCache ( string file ) : bool
ReadCacheMap ( ) : void
S ( float v ) : float
SaveCache ( ) : void
SerializeCache ( ) : OSDMap
computeAverageColor ( Bitmap bmp ) : Color
computeAverageColor ( UUID textureID, Color defaultColor ) : Color
fetchTexture ( UUID id ) : Bitmap
getHeight ( ITerrainChannel hm, int x, int y ) : float
interpolateHSV ( HSV &c1, HSV &c2, float ratio ) : HSV

Method Details

Initialize() public method

public Initialize ( IScene scene, IConfigSource source ) : void
scene IScene
source IConfigSource
return void

TerrainToBitmap() public method

public TerrainToBitmap ( Bitmap mapbmp ) : Bitmap
mapbmp System.Drawing.Bitmap
return System.Drawing.Bitmap