Package | away3d.materials |
Class | public class BitmapFileMaterial |
Inheritance | BitmapFileMaterial ![]() ![]() ![]() |
Implements | ITriangleMaterial, IUVMaterial |
Method | Defined by | ||
---|---|---|---|
BitmapFileMaterial
(url:String = "", init:Object = null)
Creates a new
BitmapFileMaterial object. | BitmapFileMaterial | ||
![]() |
addOnResize(listener:Function):void
Default method for adding a materialresize event listener
| BitmapMaterial | |
![]() |
getPixel32(u:Number, v:Number):uint
Returns the argb value of the bitmapData pixel at the given u v coordinate.
| TransformBitmapMaterial | |
![]() |
removeOnResize(listener:Function):void
Default method for removing a materialresize event listener
| BitmapMaterial | |
![]() |
Renders a bitmapData surface object for the speficied face.
| TransformBitmapMaterial | |
![]() |
Renders a material layer for the specified triangle.
| BitmapMaterial | |
![]() |
Sends data from the material coupled with data from the
DrawTriangle primitive to the render session. | TransformBitmapMaterial | |
![]() |
Called once per render loop when material is visible.
| TransformBitmapMaterial |
BitmapFileMaterial | () | constructor |
public function BitmapFileMaterial(url:String = "", init:Object = null)
Parameters
url:String (default = " ") — The location of the bitmapasset to load.
|
|
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|