C# Class OpenSim.Region.CoreModules.World.LegacyMap.TexturedMapTileRenderer

Inheritance: IMapTileTerrainRenderer
Afficher le fichier Open project: N3X15/VoxelSim

Méthodes publiques

Méthode Description
Initialise ( Scene scene, IConfigSource source ) : void
TerrainToBitmap ( Bitmap mapbmp ) : void

Private Methods

Méthode Description
S ( float v ) : float
computeAverageColor ( Bitmap bmp ) : Color
computeAverageColor ( UUID textureID, Color defaultColor ) : Color
fetchTexture ( UUID id ) : Bitmap
getHeight ( double hm, int x, int y ) : float
interpolateHSV ( HSV &c1, HSV &c2, float ratio ) : HSV

Method Details

Initialise() public méthode

public Initialise ( Scene scene, IConfigSource source ) : void
scene OpenSim.Region.Framework.Scenes.Scene
source IConfigSource
Résultat void

TerrainToBitmap() public méthode

public TerrainToBitmap ( Bitmap mapbmp ) : void
mapbmp System.Drawing.Bitmap
Résultat void