Packageaway3d.materials
Classpublic class TransformBitmapMaterial
InheritanceTransformBitmapMaterial Inheritance BitmapMaterial
ImplementsITriangleMaterial, IUVMaterial
SubclassesAlphaBitmapMaterial, AnimatedBitmapMaterial, BitmapFileMaterial, MovieMaterial

Basic bitmap texture material

Public Properties
 PropertyDefined by
 Inheritedax : Number
BitmapMaterial
 Inheriteday : Number
BitmapMaterial
 Inheritedaz : Number
BitmapMaterial
 Inherited_bitmap : BitmapData
BitmapMaterial
 Inheritedbitmap : BitmapData
BitmapMaterial
 Inherited_bitmapRect : Rectangle
BitmapMaterial
 Inherited_blendMode : String
BitmapMaterial
 InheritedblendMode : String
BitmapMaterial
 Inheritedbx : Number
BitmapMaterial
 Inheritedby : Number
BitmapMaterial
 Inheritedbz : Number
BitmapMaterial
 Inheritedcx : Number
BitmapMaterial
 Inheritedcy : Number
BitmapMaterial
 Inheritedcz : Number
BitmapMaterial
 Inheriteddabx : Number
BitmapMaterial
 Inheriteddaby : Number
BitmapMaterial
 Inheriteddbcx : Number
BitmapMaterial
 Inheriteddbcy : Number
BitmapMaterial
 Inheriteddcax : Number
BitmapMaterial
 Inheriteddcay : Number
BitmapMaterial
 Inheriteddebug : Boolean
BitmapMaterial
 Inheriteddmax : Number
BitmapMaterial
  dot : Number
TransformBitmapMaterial
  DOWN : Number3D
TransformBitmapMaterial
 Inheriteddsab : Number
BitmapMaterial
 Inheriteddsbc : Number
BitmapMaterial
 Inheriteddsca : Number
BitmapMaterial
  face : Face
TransformBitmapMaterial
 Inherited_faceDictionary : Dictionary
BitmapMaterial
 Inherited_faceVO : FaceVO
BitmapMaterial
 Inheritedfaz : Number
BitmapMaterial
 Inheritedfbz : Number
BitmapMaterial
 Inheritedfcz : Number
BitmapMaterial
  flag : Boolean
TransformBitmapMaterial
 Inheritedfocus : Number
BitmapMaterial
  fPoint1 : Point
TransformBitmapMaterial
  fPoint2 : Point
TransformBitmapMaterial
  fPoint3 : Point
TransformBitmapMaterial
  fPoint4 : Point
TransformBitmapMaterial
  globalProjection : Boolean
TransformBitmapMaterial
 Inherited_graphics : Graphics
BitmapMaterial
  h : Number
TransformBitmapMaterial
 Inheritedheight : Number
BitmapMaterial
  i : String
TransformBitmapMaterial
  _invtexturemapping : Matrix
TransformBitmapMaterial
  line : Point
TransformBitmapMaterial
  _M : Number3D
TransformBitmapMaterial
 Inheritedmabx : Number
BitmapMaterial
 Inheritedmaby : Number
BitmapMaterial
 Inheritedmabz : Number
BitmapMaterial
 Inheritedmap : Matrix
BitmapMaterial
  mapa : Number
TransformBitmapMaterial
  mapb : Number
TransformBitmapMaterial
  mapc : Number
TransformBitmapMaterial
  mapd : Number
TransformBitmapMaterial
 Inherited_mapping : Matrix
BitmapMaterial
  maptx : Number
TransformBitmapMaterial
  mapty : Number
TransformBitmapMaterial
 Inheritedmbcx : Number
BitmapMaterial
 Inheritedmbcy : Number
BitmapMaterial
 Inheritedmbcz : Number
BitmapMaterial
 Inheritedmcax : Number
BitmapMaterial
 Inheritedmcay : Number
BitmapMaterial
 Inheritedmcaz : Number
BitmapMaterial
  mPoint1 : Point
TransformBitmapMaterial
  mPoint2 : Point
TransformBitmapMaterial
  mPoint3 : Point
TransformBitmapMaterial
  mPoint4 : Point
TransformBitmapMaterial
  _N : Number3D
TransformBitmapMaterial
  normalR : Number3D
TransformBitmapMaterial
  _offsetX : Number = 0
TransformBitmapMaterial
  offsetX : Number
TransformBitmapMaterial
  _offsetY : Number = 0
TransformBitmapMaterial
  offsetY : Number
TransformBitmapMaterial
  overlap : Boolean
TransformBitmapMaterial
  point : Point
TransformBitmapMaterial
  point1 : Point
TransformBitmapMaterial
  point2 : Point
TransformBitmapMaterial
  point3 : Point
TransformBitmapMaterial
 Inherited_precision : Number
BitmapMaterial
 Inheritedprecision : Number
BitmapMaterial
  _projectionVector : Number3D
TransformBitmapMaterial
  projectionVector : Number3D
TransformBitmapMaterial
 Inherited_renderBitmap : BitmapData
BitmapMaterial
 Inheritedrepeat : Boolean
BitmapMaterial
  RIGHT : Number3D
TransformBitmapMaterial
  _rotation : Number = 0
TransformBitmapMaterial
  rotation : Number
TransformBitmapMaterial
 Inherited_s : Shape
BitmapMaterial
  _scaleX : Number = 1
TransformBitmapMaterial
  scaleX : Number
TransformBitmapMaterial
  _scaleY : Number = 1
TransformBitmapMaterial
  scaleY : Number
TransformBitmapMaterial
 Inheritedsession : AbstractRenderSession
BitmapMaterial
 Inherited_shape : Shape
BitmapMaterial
 Inherited_shapeDictionary : Dictionary
BitmapMaterial
  sign : Number
TransformBitmapMaterial
 Inheritedsmooth : Boolean
BitmapMaterial
 Inherited_sourceVO : FaceVO
BitmapMaterial
 InheritedsvArray : Array
BitmapMaterial
  t : Matrix
TransformBitmapMaterial
  throughProjection : Boolean
TransformBitmapMaterial
  _transform : Matrix
TransformBitmapMaterial
  transform : Matrix
TransformBitmapMaterial
  transformDirty : Boolean
TransformBitmapMaterial
 Inheritedtriangle : DrawTriangle
BitmapMaterial
  _u0 : Number
TransformBitmapMaterial
  _u1 : Number
TransformBitmapMaterial
  _u2 : Number
TransformBitmapMaterial
  _v0 : Number
TransformBitmapMaterial
  v0 : Number3D
TransformBitmapMaterial
  v0x : Number
TransformBitmapMaterial
  v0y : Number
TransformBitmapMaterial
  v0z : Number
TransformBitmapMaterial
  _v1 : Number
TransformBitmapMaterial
  v1 : Number3D
TransformBitmapMaterial
  v1x : Number
TransformBitmapMaterial
  v1y : Number
TransformBitmapMaterial
  v1z : Number
TransformBitmapMaterial
  _v2 : Number
TransformBitmapMaterial
  v2 : Number3D
TransformBitmapMaterial
  v2x : Number
TransformBitmapMaterial
  v2y : Number
TransformBitmapMaterial
  v2z : Number
TransformBitmapMaterial
 Inheritedvisible : Boolean
BitmapMaterial
  w : Number
TransformBitmapMaterial
 Inheritedwidth : Number
BitmapMaterial
  zero : Number
TransformBitmapMaterial
 Inherited_zeroPoint : Point
BitmapMaterial
Public Methods
 MethodDefined by
  
TransformBitmapMaterial
(bitmap:BitmapData, init:Object = null)
TransformBitmapMaterial
  
checkEdge(points1:Array, points2:Array):Boolean
TransformBitmapMaterial
  
TransformBitmapMaterial
 Inherited
BitmapMaterial
 Inherited
BitmapMaterial
  
findSeparatingAxis(points1:Array, points2:Array):Boolean
TransformBitmapMaterial
  
getContainerPoints(rect:Rectangle):Array
TransformBitmapMaterial
  
getFacePoints(map:Matrix):Array
TransformBitmapMaterial
  
getMapping(tri:DrawTriangle):Matrix
TransformBitmapMaterial
  
getMappingPoints(map:Matrix):Array
TransformBitmapMaterial
  
projectUV(tri:DrawTriangle):Matrix
TransformBitmapMaterial
  
renderFace(face:Face, containerRect:Rectangle, parentFaceVO:FaceVO):FaceVO
TransformBitmapMaterial
 Inherited
renderLayer(tri:DrawTriangle, layer:Sprite, level:int):void
BitmapMaterial
 Inherited
renderSource(source:Object3D, containerRect:Rectangle, mapping:Matrix):void
BitmapMaterial
  
TransformBitmapMaterial
  
updateMaterial(source:Object3D, view:View3D):void
TransformBitmapMaterial
  
TransformBitmapMaterial
Protected Methods
 MethodDefined by
 Inherited
renderRec(a:ScreenVertex, b:ScreenVertex, c:ScreenVertex, index:Number):void
BitmapMaterial
Property detail
dotproperty
public var dot:Number
DOWNproperty 
public var DOWN:Number3D
faceproperty 
public var face:Face
flagproperty 
public var flag:Boolean
fPoint1property 
public var fPoint1:Point
fPoint2property 
public var fPoint2:Point
fPoint3property 
public var fPoint3:Point
fPoint4property 
public var fPoint4:Point
globalProjectionproperty 
public var globalProjection:Boolean
hproperty 
public var h:Number
iproperty 
public var i:String
_invtexturemappingproperty 
public var _invtexturemapping:Matrix
lineproperty 
public var line:Point
_Mproperty 
public var _M:Number3D
mapaproperty 
public var mapa:Number
mapbproperty 
public var mapb:Number
mapcproperty 
public var mapc:Number
mapdproperty 
public var mapd:Number
maptxproperty 
public var maptx:Number
maptyproperty 
public var mapty:Number
mPoint1property 
public var mPoint1:Point
mPoint2property 
public var mPoint2:Point
mPoint3property 
public var mPoint3:Point
mPoint4property 
public var mPoint4:Point
_Nproperty 
public var _N:Number3D
normalRproperty 
public var normalR:Number3D
_offsetXproperty 
public var _offsetX:Number = 0
offsetXproperty 
offsetX:Number  [read-write]Implementation
    public function get offsetX():Number
    public function set offsetX(value:Number):void
_offsetYproperty 
public var _offsetY:Number = 0
offsetYproperty 
offsetY:Number  [read-write]Implementation
    public function get offsetY():Number
    public function set offsetY(value:Number):void
overlapproperty 
public var overlap:Boolean
pointproperty 
public var point:Point
point1property 
public var point1:Point
point2property 
public var point2:Point
point3property 
public var point3:Point
_projectionVectorproperty 
public var _projectionVector:Number3D
projectionVectorproperty 
projectionVector:Number3D  [read-write]Implementation
    public function get projectionVector():Number3D
    public function set projectionVector(value:Number3D):void
RIGHTproperty 
public var RIGHT:Number3D
_rotationproperty 
public var _rotation:Number = 0
rotationproperty 
rotation:Number  [read-write]Implementation
    public function get rotation():Number
    public function set rotation(value:Number):void
_scaleXproperty 
public var _scaleX:Number = 1
scaleXproperty 
scaleX:Number  [read-write]Implementation
    public function get scaleX():Number
    public function set scaleX(value:Number):void
_scaleYproperty 
public var _scaleY:Number = 1
scaleYproperty 
scaleY:Number  [read-write]Implementation
    public function get scaleY():Number
    public function set scaleY(value:Number):void
signproperty 
public var sign:Number
tproperty 
public var t:Matrix
throughProjectionproperty 
public var throughProjection:Boolean
_transformproperty 
public var _transform:Matrix
transformproperty 
transform:Matrix  [read-write]Implementation
    public function get transform():Matrix
    public function set transform(value:Matrix):void
transformDirtyproperty 
public var transformDirty:Boolean
_u0property 
public var _u0:Number
_u1property 
public var _u1:Number
_u2property 
public var _u2:Number
_v0property 
public var _v0:Number
v0property 
public var v0:Number3D
v0xproperty 
public var v0x:Number
v0yproperty 
public var v0y:Number
v0zproperty 
public var v0z:Number
_v1property 
public var _v1:Number
v1property 
public var v1:Number3D
v1xproperty 
public var v1x:Number
v1yproperty 
public var v1y:Number
v1zproperty 
public var v1z:Number
_v2property 
public var _v2:Number
v2property 
public var v2:Number3D
v2xproperty 
public var v2x:Number
v2yproperty 
public var v2y:Number
v2zproperty 
public var v2z:Number
wproperty 
public var w:Number
zeroproperty 
public var zero:Number
Constructor detail
TransformBitmapMaterial()constructor
public function TransformBitmapMaterial(bitmap:BitmapData, init:Object = null)Parameters
bitmap:BitmapData
 
init:Object (default = null)
Init Parameters
Method detail
checkEdge()method
public function checkEdge(points1:Array, points2:Array):Boolean Parameters
points1:Array
 
points2:Array

Returns
Boolean
clearFaceDictionary()method 
public override function clearFaceDictionary():void
findSeparatingAxis()method 
public function findSeparatingAxis(points1:Array, points2:Array):Boolean Parameters
points1:Array
 
points2:Array

Returns
Boolean
getContainerPoints()method 
public function getContainerPoints(rect:Rectangle):Array Parameters
rect:Rectangle

Returns
Array
getFacePoints()method 
public function getFacePoints(map:Matrix):Array Parameters
map:Matrix

Returns
Array
getMapping()method 
public override function getMapping(tri:DrawTriangle):Matrix Parameters
tri:DrawTriangle

Returns
Matrix
getMappingPoints()method 
public function getMappingPoints(map:Matrix):Array Parameters
map:Matrix

Returns
Array
projectUV()method 
public final function projectUV(tri:DrawTriangle):Matrix Parameters
tri:DrawTriangle

Returns
Matrix
renderFace()method 
public override function renderFace(face:Face, containerRect:Rectangle, parentFaceVO:FaceVO):FaceVO Parameters
face:Face
 
containerRect:Rectangle
 
parentFaceVO:FaceVO

Returns
FaceVO
renderTriangle()method 
public override function renderTriangle(tri:DrawTriangle):void Parameters
tri:DrawTriangle
updateMaterial()method 
public override function updateMaterial(source:Object3D, view:View3D):void Parameters
source:Object3D
 
view:View3D
updateTransform()method 
public function updateTransform():void
Wiki link
Click to go to the wiki page for 'away3d.materials.TransformBitmapMaterial'

Code examples

Comments