| Package | away3d.library.assets |
| Class | public class BitmapDataAsset |
| Inheritance | BitmapDataAsset NamedAssetBase flash.events.EventDispatcher |
| Implements | IAsset |
| Property | Defined By | ||
|---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
| assetType : String [read-only] | BitmapDataAsset | ||
| bitmapData : BitmapData
The bitmapData to be treated as a resource. | BitmapDataAsset | ||
![]() | name : String | NamedAssetBase | |
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
| Method | Defined By | ||
|---|---|---|---|
BitmapDataAsset(bitmapData:BitmapData = null)
Creates a new BitmapDataResource object. | BitmapDataAsset | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
dispose():void
Cleans up any resources used by the current object. | BitmapDataAsset | ||
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| assetType | property |
assetType:String [read-only] public function get assetType():String| bitmapData | property |
bitmapData:BitmapDataThe bitmapData to be treated as a resource.
public function get bitmapData():BitmapData public function set bitmapData(value:BitmapData):void| BitmapDataAsset | () | Constructor |
public function BitmapDataAsset(bitmapData:BitmapData = null)Creates a new BitmapDataResource object.
ParametersbitmapData:BitmapData (default = null) — An optional BitmapData object to use as the resource data.
|
| dispose | () | method |
public function dispose():voidCleans up any resources used by the current object.