OpenMetaverse Protocol Library Developers API Documentation
RequestImage Method (textureID, imageType, callback, progress)
NamespacesOpenMetaverseAssetManagerRequestImage(UUID, ImageType, TextureDownloadCallback, Boolean)
Overload: Request a texture asset from the simulator using the TexturePipelinesystem to manage the requests and re-assemble the image from the packets received from the simulator
Declaration Syntax
C#
public 
void 
RequestImage(
        
UUID 
textureID,
        
ImageType 
imageType,
        

TextureDownloadCallback 
callback,
        
bool 
progress
)
Parameters
textureID ( UUID)
The UUIDof the texture asset to download
imageType ( ImageType)
The ImageTypeof the texture asset. Use Normalfor most textures, or Bakedfor baked layer texture assets
callback ( TextureDownloadCallback)
The TextureDownloadCallbackcallback to fire when the image is retrieved. The callback will contain the result of the request and the texture asset data
progress ( Boolean)
If true, the callback will be fired for each chunk of the downloaded image. The callback asset parameter will contain all previously received chunks of the texture asset starting from the beginning of the request

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)