Packageaway3d.textures
Classpublic class SpecularBitmapTexture
InheritanceSpecularBitmapTexture Inheritance BitmapTexture Inheritance Texture2DBase Inheritance TextureProxyBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher

A convenience texture that encodes a specular map in the red channel, and the gloss map in the green channel, as expected by BasicSpecularMapMethod



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
TextureProxyBase
 InheritedbitmapData : BitmapData
BitmapTexture
  glossMap : BitmapData
SpecularBitmapTexture
 Inheritedheight : int
[read-only]
TextureProxyBase
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
  specularMap : BitmapData
SpecularBitmapTexture
 Inheritedwidth : int
[read-only]
TextureProxyBase
Protected Properties
 PropertyDefined By
 Inherited_dirty : Vector.<Context3D>
TextureProxyBase
 Inherited_height : int
TextureProxyBase
 Inherited_textures : Vector.<TextureBase>
TextureProxyBase
 Inherited_width : int
TextureProxyBase
Public Methods
 MethodDefined By
  
SpecularBitmapTexture(specularMap:BitmapData = null, glossMap:BitmapData = null)
SpecularBitmapTexture
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
  
dispose():void
[override]
SpecularBitmapTexture
 Inherited
getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase
TextureProxyBase
 Inherited
TextureProxyBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Protected Methods
 MethodDefined By
 Inherited
createTexture(context:Context3D):TextureBase
[override]
Texture2DBase
 Inherited
TextureProxyBase
 Inherited
setSize(width:int, height:int):void
TextureProxyBase
  
uploadContent(texture:TextureBase):void
[override]
SpecularBitmapTexture
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
glossMapproperty
glossMap:BitmapData


Implementation
    public function get glossMap():BitmapData
    public function set glossMap(value:BitmapData):void
specularMapproperty 
specularMap:BitmapData


Implementation
    public function get specularMap():BitmapData
    public function set specularMap(value:BitmapData):void
Constructor Detail
SpecularBitmapTexture()Constructor
public function SpecularBitmapTexture(specularMap:BitmapData = null, glossMap:BitmapData = null)



Parameters
specularMap:BitmapData (default = null)
 
glossMap:BitmapData (default = null)
Method Detail
dispose()method
override public function dispose():void

uploadContent()method 
override protected function uploadContent(texture:TextureBase):void

Parameters

texture:TextureBase