C# 클래스 WhiteCore.Modules.WorldMap.WarpTileRenderer

상속: IMapTileTerrainRenderer
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev 1 사용 예제들

공개 메소드들

메소드 설명
CreateViewImage ( System.Vector3 camPos, System.Vector3 camDir, float fov, int width, int height, bool useTextures ) : Bitmap
GetAverageColor ( UUID textureID, byte j2kData, IScene scene ) : Color4
GetOrCreateMaterial ( Warp3Dw.Warp3D renderer, Color4 faceColor, UUID textureID ) : string
Initialise ( IScene scene, IConfigSource config ) : void
TerrainBitmap ( WhiteCore.Modules.WorldMap.Warp3DMap.Viewport viewport, bool threeD, bool useTextures ) : Bitmap
TerrainToBitmap ( Bitmap mapBmp ) : Bitmap
TerrainToBitmap ( Bitmap mapBmp, int size ) : Bitmap

비공개 메소드들

메소드 설명
ConvertColor ( Color4 color ) : int
ConvertQuaternion ( Quaternion quat ) : Warp3Dw.warp_Quaternion
ConvertVector ( System.Vector3 vector ) : warp_Vector
ConvertVector ( float x, float y, float z ) : warp_Vector
CreatePrim ( Warp3Dw.Warp3D renderer, ISceneChildEntity prim, bool texturePrims ) : void
CreateTerrain ( Warp3Dw.Warp3D renderer, bool textureTerrain ) : Warp3Dw.warp_Object
CreateWater ( Warp3Dw.Warp3D renderer, bool threeD ) : void
DeserializeCache ( string file ) : bool
GetFaceColor ( Primitive textureFace ) : Color4
GetOrCreateMaterial ( Warp3Dw.Warp3D renderer, Color4 color ) : string
GetTexture ( UUID id ) : warp_Texture
ReadCacheMap ( ) : void
SaveCache ( ) : void
SerializeCache ( ) : OSDMap
SurfaceNormal ( System.Vector3 c1, System.Vector3 c2, System.Vector3 c3 ) : System.Vector3

메소드 상세

CreateViewImage() 공개 메소드

public CreateViewImage ( System.Vector3 camPos, System.Vector3 camDir, float fov, int width, int height, bool useTextures ) : Bitmap
camPos System.Vector3
camDir System.Vector3
fov float
width int
height int
useTextures bool
리턴 System.Drawing.Bitmap

GetAverageColor() 공개 정적인 메소드

public static GetAverageColor ( UUID textureID, byte j2kData, IScene scene ) : Color4
textureID UUID
j2kData byte
scene IScene
리턴 Color4

GetOrCreateMaterial() 공개 메소드

public GetOrCreateMaterial ( Warp3Dw.Warp3D renderer, Color4 faceColor, UUID textureID ) : string
renderer Warp3Dw.Warp3D
faceColor Color4
textureID UUID
리턴 string

Initialise() 공개 메소드

public Initialise ( IScene scene, IConfigSource config ) : void
scene IScene
config IConfigSource
리턴 void

TerrainBitmap() 공개 메소드

public TerrainBitmap ( WhiteCore.Modules.WorldMap.Warp3DMap.Viewport viewport, bool threeD, bool useTextures ) : Bitmap
viewport WhiteCore.Modules.WorldMap.Warp3DMap.Viewport
threeD bool
useTextures bool
리턴 System.Drawing.Bitmap

TerrainToBitmap() 공개 메소드

public TerrainToBitmap ( Bitmap mapBmp ) : Bitmap
mapBmp System.Drawing.Bitmap
리턴 System.Drawing.Bitmap

TerrainToBitmap() 공개 메소드

public TerrainToBitmap ( Bitmap mapBmp, int size ) : Bitmap
mapBmp System.Drawing.Bitmap
size int
리턴 System.Drawing.Bitmap