| Package | org.papervision3d.materials |
| Class | public class BitmapAssetMaterial |
| Inheritance | BitmapAssetMaterial BitmapMaterial MaterialObject3D flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
BitmapAssetMaterial(id:String, initObject:Object = null)
The BitmapAssetMaterial class creates a texture from a Bitmap library asset.
| BitmapAssetMaterial | ||
![]() |
Creates a copy of the material.
| MaterialObject3D | |
![]() |
copy(material:MaterialObject3D):void
Copies the properties of a material.
| MaterialObject3D | |
![]() |
toString():String
Returns a string value representing the material properties in the specified BitmapMaterial object.
| BitmapMaterial | |
![]() |
updateBitmap():void
Updates the BitmapData bitmap from the given texture.
| MaterialObject3D | |
| Method | Defined by | ||
|---|---|---|---|
|
createBitmap(asset:*):BitmapData
[internal-use]
| BitmapAssetMaterial | ||
| BitmapAssetMaterial | () | constructor |
public function BitmapAssetMaterial(id:String, initObject:Object = null)The BitmapAssetMaterial class creates a texture from a Bitmap library asset.
Parametersid:String — The linkage name of the Bitmap symbol in the library.
|
|
initObject:Object (default = null) — [optional] - An object that contains additional properties with which to populate the newly created material.
|
| createBitmap | () | method |
protected override function createBitmap(asset:*):BitmapData[internal-use]
Parametersasset:* |
BitmapData |