C# Class Universe.Modules.WorldView.WorldViewModule

Inheritance: INonSharedRegionModule
显示文件 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
AddRegion ( IScene scene ) : void
Close ( ) : void
GenerateWorldView ( System.Vector3 pos, System.Vector3 rot, float fov, int width, int height, bool usetex ) : byte[]
Initialize ( IConfigSource config ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
SaveRegionWorldMapTile ( IScene scene, string fileName, int size ) : void
SaveRegionWorldView ( IScene scene, string fileName, float fieldOfView ) : void

Protected Methods

Method Description
HandleSaveWorldTile ( IScene scene, string cmdparams ) : void
HandleSaveWorldview ( IScene scene, string cmdparams ) : void

Private Methods

Method Description
CreateCacheDirectories ( string cacheDir ) : void
ResizeBitmap ( Image b, int nWidth, int nHeight, string name ) : Bitmap

Method Details

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

GenerateWorldView() public method

public GenerateWorldView ( System.Vector3 pos, System.Vector3 rot, float fov, int width, int height, bool usetex ) : byte[]
pos System.Vector3
rot System.Vector3
fov float
width int
height int
usetex bool
return byte[]

HandleSaveWorldTile() protected method

protected HandleSaveWorldTile ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

HandleSaveWorldview() protected method

protected HandleSaveWorldview ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
return void

Initialize() public method

public Initialize ( IConfigSource config ) : void
config IConfigSource
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

SaveRegionWorldMapTile() public method

public SaveRegionWorldMapTile ( IScene scene, string fileName, int size ) : void
scene IScene
fileName string
size int
return void

SaveRegionWorldView() public method

public SaveRegionWorldView ( IScene scene, string fileName, float fieldOfView ) : void
scene IScene
fileName string
fieldOfView float
return void