Packageaway3d.core.material
Classpublic class AlphaBitmapMaterial
ImplementsITriangleMaterial, IUVMaterial

Bitmap texture material with adjustable transparency

Public Properties
 PropertyDefined by
  alpha : Number
AlphaBitmapMaterial
  bitmap : BitmapData
AlphaBitmapMaterial
  debug : Boolean
AlphaBitmapMaterial
  height : Number
[read-only]
AlphaBitmapMaterial
  mapping : Matrix
AlphaBitmapMaterial
  repeat : Boolean
AlphaBitmapMaterial
  smooth : Boolean
AlphaBitmapMaterial
  visible : Boolean
[read-only]
AlphaBitmapMaterial
  width : Number
[read-only]
AlphaBitmapMaterial
Public Methods
 MethodDefined by
  
AlphaBitmapMaterial
(bitmap:BitmapData, init:Object = null)
AlphaBitmapMaterial
  
AlphaBitmapMaterial
Property detail
alphaproperty
alpha:Number  [read-write]Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
bitmapproperty 
bitmap:BitmapData  [read-write]Implementation
    public function get bitmap():BitmapData
    public function set bitmap(value:BitmapData):void
debugproperty 
public var debug:Boolean
heightproperty 
height:Number  [read-only]Implementation
    public function get height():Number
mappingproperty 
public var mapping:Matrix
repeatproperty 
public var repeat:Boolean
smoothproperty 
public var smooth:Boolean
visibleproperty 
visible:Boolean  [read-only]Implementation
    public function get visible():Boolean
widthproperty 
width:Number  [read-only]Implementation
    public function get width():Number
Constructor detail
AlphaBitmapMaterial()constructor
public function AlphaBitmapMaterial(bitmap:BitmapData, init:Object = null)Parameters
bitmap:BitmapData
 
init:Object (default = null)
Init Parameters
Method detail
renderTriangle()method
public function renderTriangle(tri:DrawTriangle, session:RenderSession):void Parameters
tri:DrawTriangle
 
session:RenderSession
Wiki link
Click to go to the wiki page for 'away3d.core.material.AlphaBitmapMaterial'

Code examples

Comments