Package | away3d.textures |
Class | public class BitmapTexture |
Inheritance | BitmapTexture Texture2DBase TextureProxyBase NamedAssetBase flash.events.EventDispatcher |
Subclasses | SpecularBitmapTexture, SplatBlendBitmapTexture, VideoTexture, WebcamTexture |
Property | Defined By | ||
---|---|---|---|
assetFullPath : Array [read-only] | NamedAssetBase | ||
assetNamespace : String [read-only] | NamedAssetBase | ||
assetType : String [read-only] | TextureProxyBase | ||
bitmapData : BitmapData | BitmapTexture | ||
format : String [read-only] | TextureProxyBase | ||
hasMipMaps : Boolean [read-only] | TextureProxyBase | ||
height : int [read-only] | TextureProxyBase | ||
name : String | NamedAssetBase | ||
originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | ||
width : int [read-only] | TextureProxyBase |
Method | Defined By | ||
---|---|---|---|
BitmapTexture(bitmapData:BitmapData) | BitmapTexture | ||
assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | ||
dispose():void
Cleans up resources used by this asset. | TextureProxyBase | ||
getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase | TextureProxyBase | ||
invalidateContent():void | TextureProxyBase | ||
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
Method | Defined By | ||
---|---|---|---|
createTexture(context:Context3D):TextureBase [override] | Texture2DBase | ||
invalidateSize():void | TextureProxyBase | ||
setSize(width:int, height:int):void | TextureProxyBase | ||
uploadContent(texture:TextureBase):void [override] | BitmapTexture |
bitmapData | property |
bitmapData:BitmapData
public function get bitmapData():BitmapData
public function set bitmapData(value:BitmapData):void
BitmapTexture | () | Constructor |
public function BitmapTexture(bitmapData:BitmapData)
bitmapData:BitmapData |
uploadContent | () | method |
override protected function uploadContent(texture:TextureBase):void
Parameters
texture:TextureBase |