C# Класс Universe.Modules.WorldMap.Warp3DMap.TerrainSplat

Показать файл Открыть проект

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

Метод Описание
ResizeBitmap ( Bitmap b, int nWidth, int nHeight ) : Bitmap
Splat ( ITerrainChannel heightmap, UUID textureIDs, float startHeights, float heightRanges, Vector3d regionPosition, IAssetService assetService, bool textureTerrain ) : Bitmap

Builds a composited terrain texture given the region texture and heightmap settings

Based on the algorithm described at http://opensimulator.org/wiki/Terrain_Splatting

SplatSimple ( ITerrainChannel heightmap ) : Bitmap

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

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

public static ResizeBitmap ( Bitmap b, int nWidth, int nHeight ) : Bitmap
b System.Drawing.Bitmap
nWidth int
nHeight int
Результат System.Drawing.Bitmap

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

Builds a composited terrain texture given the region texture and heightmap settings
Based on the algorithm described at http://opensimulator.org/wiki/Terrain_Splatting
public static Splat ( ITerrainChannel heightmap, UUID textureIDs, float startHeights, float heightRanges, Vector3d regionPosition, IAssetService assetService, bool textureTerrain ) : Bitmap
heightmap ITerrainChannel Terrain heightmap
textureIDs UUID
startHeights float
heightRanges float
regionPosition Vector3d
assetService IAssetService
textureTerrain bool
Результат System.Drawing.Bitmap

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

public static SplatSimple ( ITerrainChannel heightmap ) : Bitmap
heightmap ITerrainChannel
Результат System.Drawing.Bitmap