Packageaway3d.core.material
Classpublic class BitmapMaterial
ImplementsITriangleMaterial, IUVMaterial
SubclassesBitmapMaterialContainer, TransformBitmapMaterial

Basic bitmap texture material

Public Properties
 PropertyDefined by
  ax : Number
BitmapMaterial
  ay : Number
BitmapMaterial
  az : Number
BitmapMaterial
  _bitmap : BitmapData
BitmapMaterial
  bitmap : BitmapData
[read-only]
BitmapMaterial
  bx : Number
BitmapMaterial
  by : Number
BitmapMaterial
  bz : Number
BitmapMaterial
  cx : Number
BitmapMaterial
  cy : Number
BitmapMaterial
  cz : Number
BitmapMaterial
  dabx : Number
BitmapMaterial
  daby : Number
BitmapMaterial
  dbcx : Number
BitmapMaterial
  dbcy : Number
BitmapMaterial
  dcax : Number
BitmapMaterial
  dcay : Number
BitmapMaterial
  debug : Boolean
BitmapMaterial
  dmax : Number
BitmapMaterial
  dsab : Number
BitmapMaterial
  dsbc : Number
BitmapMaterial
  dsca : Number
BitmapMaterial
  _faceDictionary : Dictionary
BitmapMaterial
  faceDictionary : Dictionary
[read-only]
BitmapMaterial
  faceDictionaryVO : FaceDictionaryVO
BitmapMaterial
  faz : Number
BitmapMaterial
  fbz : Number
BitmapMaterial
  fcz : Number
BitmapMaterial
  focus : Number
BitmapMaterial
  graphics : Graphics
BitmapMaterial
  height : Number
[read-only]
BitmapMaterial
  mabx : Number
BitmapMaterial
  maby : Number
BitmapMaterial
  mabz : Number
BitmapMaterial
  map : Matrix
BitmapMaterial
  mapping : Matrix
BitmapMaterial
  mbcx : Number
BitmapMaterial
  mbcy : Number
BitmapMaterial
  mbcz : Number
BitmapMaterial
  mcax : Number
BitmapMaterial
  mcay : Number
BitmapMaterial
  mcaz : Number
BitmapMaterial
  precision : Number = 0
BitmapMaterial
  _renderBitmap : BitmapData
BitmapMaterial
  repeat : Boolean
BitmapMaterial
  session : RenderSession
BitmapMaterial
  shape : Shape
BitmapMaterial
  smooth : Boolean
BitmapMaterial
  svArray : Array
BitmapMaterial
  triangle : DrawTriangle
BitmapMaterial
  visible : Boolean
[read-only]
BitmapMaterial
  width : Number
[read-only]
BitmapMaterial
  _zeroPoint : Point
BitmapMaterial
Public Methods
 MethodDefined by
  
BitmapMaterial
(bitmap:BitmapData, init:Object = null)
BitmapMaterial
  
BitmapMaterial
  
BitmapMaterial
  
getMapping(tri:DrawTriangle):Matrix
BitmapMaterial
  
renderFace(face:Face, bitmapRect:Rectangle):void
BitmapMaterial
  
renderMaterial(source:Mesh):void
BitmapMaterial
  
BitmapMaterial
  
BitmapMaterial
Protected Methods
 MethodDefined by
  
renderRec(a:ScreenVertex, b:ScreenVertex, c:ScreenVertex, index:Number):void
BitmapMaterial
Property detail
axproperty
public var ax:Number
ayproperty 
public var ay:Number
azproperty 
public var az:Number
_bitmapproperty 
public var _bitmap:BitmapData
bitmapproperty 
bitmap:BitmapData  [read-only]Implementation
    public function get bitmap():BitmapData
bxproperty 
public var bx:Number
byproperty 
public var by:Number
bzproperty 
public var bz:Number
cxproperty 
public var cx:Number
cyproperty 
public var cy:Number
czproperty 
public var cz:Number
dabxproperty 
public var dabx:Number
dabyproperty 
public var daby:Number
dbcxproperty 
public var dbcx:Number
dbcyproperty 
public var dbcy:Number
dcaxproperty 
public var dcax:Number
dcayproperty 
public var dcay:Number
debugproperty 
public var debug:Boolean
dmaxproperty 
public var dmax:Number
dsabproperty 
public var dsab:Number
dsbcproperty 
public var dsbc:Number
dscaproperty 
public var dsca:Number
_faceDictionaryproperty 
public var _faceDictionary:Dictionary
faceDictionaryproperty 
faceDictionary:Dictionary  [read-only]Implementation
    public function get faceDictionary():Dictionary
faceDictionaryVOproperty 
public var faceDictionaryVO:FaceDictionaryVO
fazproperty 
public var faz:Number
fbzproperty 
public var fbz:Number
fczproperty 
public var fcz:Number
focusproperty 
public var focus:Number
graphicsproperty 
public var graphics:Graphics
heightproperty 
height:Number  [read-only]Implementation
    public function get height():Number
mabxproperty 
public var mabx:Number
mabyproperty 
public var maby:Number
mabzproperty 
public var mabz:Number
mapproperty 
public var map:Matrix
mappingproperty 
public var mapping:Matrix
mbcxproperty 
public var mbcx:Number
mbcyproperty 
public var mbcy:Number
mbczproperty 
public var mbcz:Number
mcaxproperty 
public var mcax:Number
mcayproperty 
public var mcay:Number
mcazproperty 
public var mcaz:Number
precisionproperty 
public var precision:Number = 0
_renderBitmapproperty 
public var _renderBitmap:BitmapData
repeatproperty 
public var repeat:Boolean
sessionproperty 
public var session:RenderSession
shapeproperty 
public var shape:Shape
smoothproperty 
public var smooth:Boolean
svArrayproperty 
public var svArray:Array
triangleproperty 
public var triangle:DrawTriangle
visibleproperty 
visible:Boolean  [read-only]Implementation
    public function get visible():Boolean
widthproperty 
width:Number  [read-only]Implementation
    public function get width():Number
_zeroPointproperty 
public var _zeroPoint:Point
Constructor detail
BitmapMaterial()constructor
public function BitmapMaterial(bitmap:BitmapData, init:Object = null)Parameters
bitmap:BitmapData
 
init:Object (default = null)
Init Parameters
Method detail
clearFaceDictionary()method
public function clearFaceDictionary():void
createVertexArray()method 
public function createVertexArray():void
getMapping()method 
public function getMapping(tri:DrawTriangle):Matrix Parameters
tri:DrawTriangle

Returns
Matrix
renderFace()method 
public function renderFace(face:Face, bitmapRect:Rectangle):void Parameters
face:Face
 
bitmapRect:Rectangle
renderMaterial()method 
public function renderMaterial(source:Mesh):void Parameters
source:Mesh
renderRec()method 
protected function renderRec(a:ScreenVertex, b:ScreenVertex, c:ScreenVertex, index:Number):void Parameters
a:ScreenVertex
 
b:ScreenVertex
 
c:ScreenVertex
 
index:Number
renderTriangle()method 
public function renderTriangle(tri:DrawTriangle):void Parameters
tri:DrawTriangle
shadeTriangle()method 
public function shadeTriangle(tri:DrawTriangle):void Parameters
tri:DrawTriangle
Wiki link
Click to go to the wiki page for 'away3d.core.material.BitmapMaterial'

Code examples

Comments