Package | away3d.core.material |
Class | public class BitmapMaterial |
Implements | ITriangleMaterial, IUVMaterial |
Subclasses | BitmapMaterialContainer, TransformBitmapMaterial |
Property | Defined 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 |
Method | Defined by | ||
---|---|---|---|
BitmapMaterial
(bitmap:BitmapData, init:Object = null) | BitmapMaterial | ||
clearFaceDictionary():void
| BitmapMaterial | ||
createVertexArray():void
| BitmapMaterial | ||
BitmapMaterial | |||
BitmapMaterial | |||
BitmapMaterial | |||
BitmapMaterial | |||
BitmapMaterial |
Method | Defined by | ||
---|---|---|---|
BitmapMaterial |
ax | property |
public var ax:Number
ay | property |
public var ay:Number
az | property |
public var az:Number
_bitmap | property |
public var _bitmap:BitmapData
bitmap | property |
bitmap:BitmapData
[read-only]Implementation
public function get bitmap():BitmapData
bx | property |
public var bx:Number
by | property |
public var by:Number
bz | property |
public var bz:Number
cx | property |
public var cx:Number
cy | property |
public var cy:Number
cz | property |
public var cz:Number
dabx | property |
public var dabx:Number
daby | property |
public var daby:Number
dbcx | property |
public var dbcx:Number
dbcy | property |
public var dbcy:Number
dcax | property |
public var dcax:Number
dcay | property |
public var dcay:Number
debug | property |
public var debug:Boolean
dmax | property |
public var dmax:Number
dsab | property |
public var dsab:Number
dsbc | property |
public var dsbc:Number
dsca | property |
public var dsca:Number
_faceDictionary | property |
public var _faceDictionary:Dictionary
faceDictionary | property |
faceDictionary:Dictionary
[read-only]Implementation
public function get faceDictionary():Dictionary
faceDictionaryVO | property |
public var faceDictionaryVO:FaceDictionaryVO
faz | property |
public var faz:Number
fbz | property |
public var fbz:Number
fcz | property |
public var fcz:Number
focus | property |
public var focus:Number
graphics | property |
public var graphics:Graphics
height | property |
height:Number
[read-only]Implementation
public function get height():Number
mabx | property |
public var mabx:Number
maby | property |
public var maby:Number
mabz | property |
public var mabz:Number
map | property |
public var map:Matrix
mapping | property |
public var mapping:Matrix
mbcx | property |
public var mbcx:Number
mbcy | property |
public var mbcy:Number
mbcz | property |
public var mbcz:Number
mcax | property |
public var mcax:Number
mcay | property |
public var mcay:Number
mcaz | property |
public var mcaz:Number
precision | property |
public var precision:Number = 0
_renderBitmap | property |
public var _renderBitmap:BitmapData
repeat | property |
public var repeat:Boolean
session | property |
public var session:RenderSession
shape | property |
public var shape:Shape
smooth | property |
public var smooth:Boolean
svArray | property |
public var svArray:Array
triangle | property |
public var triangle:DrawTriangle
visible | property |
visible:Boolean
[read-only]Implementation
public function get visible():Boolean
width | property |
width:Number
[read-only]Implementation
public function get width():Number
_zeroPoint | property |
public var _zeroPoint:Point
BitmapMaterial | () | constructor |
public function BitmapMaterial(bitmap:BitmapData, init:Object = null)
Parameters
bitmap:BitmapData |
|
init:Object (default = null )
|
clearFaceDictionary | () | method |
public function clearFaceDictionary():void
createVertexArray | () | method |
public function createVertexArray():void
getMapping | () | method |
renderFace | () | method |
public function renderFace(face:Face, bitmapRect:Rectangle):void
Parameters
face:Face |
|
bitmapRect:Rectangle |
renderMaterial | () | method |
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 |
shadeTriangle | () | method |