| Package | org.papervision3d.materials |
| Class | public class MovieAssetMaterial |
| Inheritance | MovieAssetMaterial MovieMaterial BitmapMaterial MaterialObject3D flash.events.EventDispatcher |
| Method | Defined by | ||
|---|---|---|---|
|
MovieAssetMaterial(id:*, transparent:Boolean = false, initObject:Object = null)
The MovieAssetMaterial class creates a texture from a MovieClip library id.
| MovieAssetMaterial | ||
![]() |
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 animated MovieClip bitmap.
| MovieMaterial | |
| Method | Defined by | ||
|---|---|---|---|
|
createBitmap(asset:*):BitmapData
| MovieAssetMaterial | ||
| MovieAssetMaterial | () | constructor |
public function MovieAssetMaterial(id:*, transparent:Boolean = false, initObject:Object = null)The MovieAssetMaterial class creates a texture from a MovieClip library id.
Parametersid:* — The linkage name of the MovieClip symbol in the library.
|
|
transparent:Boolean (default = false) — [optional] - If it's not transparent, the empty areas of the MovieClip will be of fill32 color. Default value is false.
|
|
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:*):BitmapDataParameters
asset:* |
BitmapData |