Packageaway3d.library.assets
Classpublic class BitmapDataAsset
InheritanceBitmapDataAsset Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher
Implements IAsset

BitmapDataResource is a wrapper for loaded BitmapData, allowing it to be used uniformly as a resource when loading, parsing, and listing/resolving dependencies.



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
  assetType : String
[read-only]
BitmapDataAsset
  bitmapData : BitmapData
The bitmapData to be treated as a resource.
BitmapDataAsset
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
Public Methods
 MethodDefined By
  
BitmapDataAsset(bitmapData:BitmapData = null)
Creates a new BitmapDataResource object.
BitmapDataAsset
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
  
dispose():void
Cleans up any resources used by the current object.
BitmapDataAsset
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
assetTypeproperty
assetType:String  [read-only]


Implementation
    public function get assetType():String
bitmapDataproperty 
bitmapData:BitmapData

The bitmapData to be treated as a resource.


Implementation
    public function get bitmapData():BitmapData
    public function set bitmapData(value:BitmapData):void
Constructor Detail
BitmapDataAsset()Constructor
public function BitmapDataAsset(bitmapData:BitmapData = null)

Creates a new BitmapDataResource object.

Parameters
bitmapData:BitmapData (default = null) — An optional BitmapData object to use as the resource data.
Method Detail
dispose()method
public function dispose():void

Cleans up any resources used by the current object.