C# Class Universe.ClientStack.J2KImage

Stores information about a current texture download and a reference to the texture asset
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Properties

Property Type Description
AgentID UUID
AssetService IAssetService
DiscardLevel sbyte
HasAsset bool
InventoryAccessModule IInventoryAccessModule
IsDecoded bool
J2KDecoder IJ2KDecoder
LastSequence uint
Layers OpenMetaverse.Imaging.OpenJPEG.J2KLayerInfo[]
Priority float
StartPacket uint
TextureID UUID

Public Methods

Method Description
Dispose ( ) : void
RunUpdate ( ) : void
SendPackets ( LLClientView client, int packetsToSend, int &packetsSent ) : bool

Sends packets for this texture to a client until packetsToSend is hit or the transfer completes

Private Methods

Method Description
AssetDataCallback ( UUID AssetID, AssetBase asset ) : void
AssetReceived ( string id, object sender, AssetBase asset ) : void
CurrentBytePosition ( ) : int
GetPacketForBytePosition ( int bytePosition ) : int
J2KDecodedCallback ( UUID AssetId, OpenJPEG layers ) : void
LastPacketSize ( ) : int
SendFirstPacket ( LLClientView client ) : bool
SendPacket ( LLClientView client ) : bool
TexturePacketCount ( ) : ushort

Method Details

Dispose() public method

public Dispose ( ) : void
return void

RunUpdate() public method

public RunUpdate ( ) : void
return void

SendPackets() public method

Sends packets for this texture to a client until packetsToSend is hit or the transfer completes
public SendPackets ( LLClientView client, int packetsToSend, int &packetsSent ) : bool
client LLClientView Reference to the client that the packets are destined for
packetsToSend int Maximum number of packets to send during this call
packetsSent int Number of packets sent during this call
return bool

Property Details

AgentID public_oe property

public UUID AgentID
return UUID

AssetService public_oe property

public IAssetService AssetService
return IAssetService

DiscardLevel public_oe property

public sbyte DiscardLevel
return sbyte

HasAsset public_oe property

public bool HasAsset
return bool

InventoryAccessModule public_oe property

public IInventoryAccessModule InventoryAccessModule
return IInventoryAccessModule

IsDecoded public_oe property

public bool IsDecoded
return bool

J2KDecoder public_oe property

public IJ2KDecoder J2KDecoder
return IJ2KDecoder

LastSequence public_oe property

public uint LastSequence
return uint

Layers public_oe property

public OpenJPEG.J2KLayerInfo[],OpenMetaverse.Imaging Layers
return OpenMetaverse.Imaging.OpenJPEG.J2KLayerInfo[]

Priority public_oe property

public float Priority
return float

StartPacket public_oe property

public uint StartPacket
return uint

TextureID public_oe property

public UUID TextureID
return UUID