C# Class Universe.Modules.Scripting.LoadImageURLModule

Inheritance: INonSharedRegionModule, IDynamicTextureRender
显示文件 Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
AddRegion ( IScene scene ) : void
AsyncConvertData ( UUID id, string bodyData, string extraParams ) : bool
AsyncConvertUrl ( UUID id, string url, string extraParams ) : bool
Close ( ) : void
ConvertStream ( Stream data, string extraParams ) : byte[]
ConvertUrl ( string url, string extraParams ) : byte[]
GetContentType ( ) : string
GetDrawStringSize ( string text, string fontName, int fontSize, double &xSize, double &ySize ) : void
GetName ( ) : string
Initialize ( IConfigSource config ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
SupportsAsynchronous ( ) : bool

Private Methods

Method Description
HttpRequestReturn ( IAsyncResult result ) : void
MakeHttpRequest ( string url, UUID requestID ) : void

Method Details

AddRegion() public method

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

AsyncConvertData() public method

public AsyncConvertData ( UUID id, string bodyData, string extraParams ) : bool
id UUID
bodyData string
extraParams string
return bool

AsyncConvertUrl() public method

public AsyncConvertUrl ( UUID id, string url, string extraParams ) : bool
id UUID
url string
extraParams string
return bool

Close() public method

public Close ( ) : void
return void

ConvertStream() public method

public ConvertStream ( Stream data, string extraParams ) : byte[]
data Stream
extraParams string
return byte[]

ConvertUrl() public method

public ConvertUrl ( string url, string extraParams ) : byte[]
url string
extraParams string
return byte[]

GetContentType() public method

public GetContentType ( ) : string
return string

GetDrawStringSize() public method

public GetDrawStringSize ( string text, string fontName, int fontSize, double &xSize, double &ySize ) : void
text string
fontName string
fontSize int
xSize double
ySize double
return void

GetName() public method

public GetName ( ) : string
return string

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

SupportsAsynchronous() public method

public SupportsAsynchronous ( ) : bool
return bool