C# Class Universe.ClientStack.J2KImage

Stores information about a current texture download and a reference to the texture asset
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Dispose ( ) : void
Résultat void

RunUpdate() public méthode

public RunUpdate ( ) : void
Résultat void

SendPackets() public méthode

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
Résultat bool

Property Details

AgentID public_oe property

public UUID AgentID
Résultat UUID

AssetService public_oe property

public IAssetService AssetService
Résultat IAssetService

DiscardLevel public_oe property

public sbyte DiscardLevel
Résultat sbyte

HasAsset public_oe property

public bool HasAsset
Résultat bool

InventoryAccessModule public_oe property

public IInventoryAccessModule InventoryAccessModule
Résultat IInventoryAccessModule

IsDecoded public_oe property

public bool IsDecoded
Résultat bool

J2KDecoder public_oe property

public IJ2KDecoder J2KDecoder
Résultat IJ2KDecoder

LastSequence public_oe property

public uint LastSequence
Résultat uint

Layers public_oe property

public OpenJPEG.J2KLayerInfo[],OpenMetaverse.Imaging Layers
Résultat OpenMetaverse.Imaging.OpenJPEG.J2KLayerInfo[]

Priority public_oe property

public float Priority
Résultat float

StartPacket public_oe property

public uint StartPacket
Résultat uint

TextureID public_oe property

public UUID TextureID
Résultat UUID