Package | org.papervision3d.materials |
Class | public class BitmapWireframeMaterial |
Inheritance | BitmapWireframeMaterial TriangleMaterial MaterialObject3D flash.events.EventDispatcher |
Implements | ITriangleDrawer |
Property | Defined by | ||
---|---|---|---|
_localMatrix : Matrix [static]
| BitmapWireframeMaterial | ||
objects : Dictionary | MaterialObject3D | ||
_triMatrix : Matrix [static]
| BitmapWireframeMaterial |
Method | Defined by | ||
---|---|---|---|
BitmapWireframeMaterial(color:Number = 0xFF00FF, alpha:Number = 1, thickness:Number = 3)
| BitmapWireframeMaterial | ||
Creates a copy of the material.
| MaterialObject3D | ||
copy(material:MaterialObject3D):void
Copies the properties of a material.
| MaterialObject3D | ||
drawTriangle(face3D:Triangle3D, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
| BitmapWireframeMaterial | ||
registerObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
toString():String
Returns a string value representing the material properties.
| MaterialObject3D | ||
unregisterObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
updateBitmap():void
Updates the BitmapData bitmap from the given texture.
| MaterialObject3D |
Method | Defined by | ||
---|---|---|---|
destroy():void
| BitmapWireframeMaterial |
_localMatrix | property |
protected static var _localMatrix:Matrix
_triMatrix | property |
protected static var _triMatrix:Matrix
BitmapWireframeMaterial | () | constructor |
public function BitmapWireframeMaterial(color:Number = 0xFF00FF, alpha:Number = 1, thickness:Number = 3)
Parameters
color:Number (default = 0xFF00FF )
|
|
alpha:Number (default = 1 )
|
|
thickness:Number (default = 3 )
|
destroy | () | method |
protected override function destroy():void
drawTriangle | () | method |
public override function drawTriangle(face3D:Triangle3D, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
Parameters
face3D:Triangle3D |
|
graphics:Graphics |
|
renderSessionData:RenderSessionData |
|
altBitmap:BitmapData (default = null )
|
|
altUV:Matrix (default = null )
|