Package | org.papervision3d.materials |
Class | public class BitmapViewportMaterial |
Inheritance | BitmapViewportMaterial ![]() ![]() ![]() ![]() |
Implements | ITriangleDrawer |
Method | Defined by | ||
---|---|---|---|
BitmapViewportMaterial(bitmapViewport:BitmapViewport3D, precise:Boolean = false)
| BitmapViewportMaterial | ||
![]() |
Creates a copy of the material.
| BitmapMaterial | |
![]() |
copy(material:MaterialObject3D):void
Copies the properties of a material.
| BitmapMaterial | |
![]() |
destroy():void
| BitmapMaterial | |
![]() | TriangleMaterial | ||
![]() |
drawTriangle(tri:RenderTriangle, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
drawTriangle
| BitmapMaterial | |
![]() |
getObjectList():Dictionary
Returns a list of
DisplayObject3D objects registered with the material. | MaterialObject3D | |
![]() |
isUpdateable():Boolean
| MaterialObject3D | |
![]() |
registerObject(displayObject3D:DisplayObject3D):void
Registers the
DisplayObject3D
| MaterialObject3D | |
![]() |
resetMapping():void
Resets the mapping coordinates.
| BitmapMaterial | |
![]() |
resetUVS():void
resetUVMatrices();
Resets the precalculated uvmatrices, so they can be recalculated
| BitmapMaterial | |
![]() |
toString():String
Returns a string value representing the material properties in the specified BitmapMaterial object.
| BitmapMaterial | |
![]() |
transformUV(face3D:Triangle3D):Matrix
Applies the updated UV texture mapping values to the triangle.
| BitmapMaterial | |
![]() |
transformUVRT(tri:RenderTriangle):Matrix
Applies the updated UV texture mapping values to the triangle.
| BitmapMaterial | |
![]() |
unregisterObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | |
![]() |
updateBitmap():void
Updates the BitmapData bitmap from the given texture.
| MaterialObject3D |
BitmapViewportMaterial | () | constructor |
public function BitmapViewportMaterial(bitmapViewport:BitmapViewport3D, precise:Boolean = false)
Parameters
bitmapViewport:BitmapViewport3D |
|
precise:Boolean (default = false )
|