C# 클래스 Universe.Modules.WorldMap.Warp3DMap.TerrainSplat

파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

공개 메소드들

메소드 설명
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