Package | away3d.core.material |
Class | public class BitmapMaterial |
Implements | ITriangleMaterial, IUVMaterial |
Subclasses | PreciseBitmapMaterial |
Property | Defined by | ||
---|---|---|---|
bitmap : BitmapData | BitmapMaterial | ||
debug : Boolean | BitmapMaterial | ||
height : Number [read-only]
| BitmapMaterial | ||
mapping : Matrix | BitmapMaterial | ||
repeat : Boolean | BitmapMaterial | ||
smooth : Boolean | BitmapMaterial | ||
visible : Boolean [read-only]
| BitmapMaterial | ||
width : Number [read-only]
| BitmapMaterial |
Method | Defined by | ||
---|---|---|---|
BitmapMaterial
(bitmap:BitmapData, init:Object = null) | BitmapMaterial | ||
BitmapMaterial |
bitmap | property |
public var bitmap:BitmapData
debug | property |
public var debug:Boolean
height | property |
height:Number
[read-only]Implementation
public function get height():Number
mapping | property |
public var mapping:Matrix
repeat | property |
public var repeat:Boolean
smooth | property |
public var smooth:Boolean
visible | property |
visible:Boolean
[read-only]Implementation
public function get visible():Boolean
width | property |
width:Number
[read-only]Implementation
public function get width():Number
BitmapMaterial | () | constructor |
public function BitmapMaterial(bitmap:BitmapData, init:Object = null)
Parameters
bitmap:BitmapData |
|
init:Object (default = null )
|
renderTriangle | () | method |
public function renderTriangle(tri:DrawTriangle, session:RenderSession):void
Parameters
tri:DrawTriangle |
|
session:RenderSession |