| Package | org.papervision3d.materials |
| Class | public class MovieAssetMaterial |
| Inheritance | MovieAssetMaterial MovieMaterial BitmapMaterial MaterialObject3D flash.events.EventDispatcher |
| Subclasses | InteractiveMovieAssetMaterial |
| 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.
| BitmapMaterial | |
![]() |
copy(material:MaterialObject3D):void
Copies the properties of a material.
| BitmapMaterial | |
![]() |
correctBitmap(bitmap:BitmapData, dispose:Boolean):BitmapData
| BitmapMaterial | |
![]() |
drawFace3D(instance:DisplayObject3D, face3D:Face3D, graphics:Graphics, v0:Vertex2D, v1:Vertex2D, v2:Vertex2D):int
drawFace3D
| BitmapMaterial | |
![]() |
toString():String
Returns a string value representing the material properties in the specified BitmapMaterial object.
| BitmapMaterial | |
![]() |
Applies the updated UV texture mapping values to the triangle.
| BitmapMaterial | |
![]() |
updateAnimatedBitmaps():void
[static]
Updates bitmap on all animated MovieMaterial instances.
| MovieMaterial | |
![]() |
updateBitmap():void
Updates animated Sprite bitmap.
| MovieMaterial | |
| Method | Defined by | ||
|---|---|---|---|
|
createBitmap(asset:*):BitmapData
| MovieAssetMaterial | ||
![]() |
extendBitmapEdges(bmp:BitmapData, originalWidth:Number, originalHeight:Number):void
| BitmapMaterial | |
| 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 |