C# Class OpenMetaverse.AssetTexture

Inheritance: Asset
Mostrar archivo Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Public Properties

Property Type Description
Components int
Image ManagedImage
LayerInfo OpenJPEG.J2KLayerInfo[]

Public Methods

Method Description
AssetTexture ( ) : System
AssetTexture ( ManagedImage image ) : System
AssetTexture ( UUID assetID, byte assetData ) : System
Decode ( ) : bool

Decodes the JPEG2000 data in AssetData to the ManagedImage object Image

DecodeLayerBoundaries ( ) : bool

Decodes the begin and end byte positions for each quality layer in the image

Encode ( ) : void

Populates the AssetData byte array with a JPEG2000 encoded image created from the data in Image

Method Details

AssetTexture() public method

public AssetTexture ( ) : System
return System

AssetTexture() public method

public AssetTexture ( ManagedImage image ) : System
image ManagedImage
return System

AssetTexture() public method

public AssetTexture ( UUID assetID, byte assetData ) : System
assetID UUID
assetData byte
return System

Decode() public method

Decodes the JPEG2000 data in AssetData to the ManagedImage object Image
public Decode ( ) : bool
return bool

DecodeLayerBoundaries() public method

Decodes the begin and end byte positions for each quality layer in the image
public DecodeLayerBoundaries ( ) : bool
return bool

Encode() public method

Populates the AssetData byte array with a JPEG2000 encoded image created from the data in Image
public Encode ( ) : void
return void

Property Details

Components public_oe property

public int Components
return int

Image public_oe property

public ManagedImage Image
return ManagedImage

LayerInfo public_oe property

public OpenJPEG.J2KLayerInfo[] LayerInfo
return OpenJPEG.J2KLayerInfo[]