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
Parameters
- imageType ( ImageType)
- The ImageTypeof the texture asset. Use Normalfor most textures, or Bakedfor baked layer texture assets
- priority ( Single)
- A float indicating the requested priority for the transfer. Higher priority values tell the simulator to prioritize the request before lower valued requests. An image already being transferred using the TexturePipelinecan have its priority changed by resending the request with the new priority value
- discardLevel ( Int32)
- Number of quality layers to discard. This controls the end marker of the data sent
- packetStart ( UInt32)
- The packet number to begin the request at. A value of 0 begins the request from the start of the asset texture
- 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
- progressive ( 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)