Package | org.papervision3d.materials |
Class | public class WireframeMaterial |
Inheritance | WireframeMaterial TriangleMaterial MaterialObject3D flash.events.EventDispatcher |
Implements | ITriangleDrawer |
Method | Defined by | ||
---|---|---|---|
WireframeMaterial(color:Number = 0xFF00FF, alpha:Number = 100, thickness:Number = 0)
The WireframeMaterial class creates a wireframe material, where only the outlines of the faces are drawn.
| WireframeMaterial | ||
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
drawTriangle
| WireframeMaterial | ||
registerObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
toString():String
Returns a string value representing the material properties in the specified WireframeMaterial object.
| WireframeMaterial | ||
unregisterObject(displayObject3D:DisplayObject3D):void
| MaterialObject3D | ||
updateBitmap():void
Updates the BitmapData bitmap from the given texture.
| MaterialObject3D |
WireframeMaterial | () | constructor |
public function WireframeMaterial(color:Number = 0xFF00FF, alpha:Number = 100, thickness:Number = 0)
The WireframeMaterial class creates a wireframe material, where only the outlines of the faces are drawn.
Parameterscolor:Number (default = 0xFF00FF ) — A BitmapData object.
|
|
alpha:Number (default = 100 ) — [optional] - An object that contains additional properties with which to populate the newly created material.
|
|
thickness:Number (default = 0 )
|
drawTriangle | () | method |
public override function drawTriangle(face3D:Triangle3D, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
drawTriangle
Parametersface3D:Triangle3D |
|
graphics:Graphics |
|
renderSessionData:RenderSessionData |
|
altBitmap:BitmapData (default = null )
|
|
altUV:Matrix (default = null )
|
toString | () | method |
public override function toString():String
Returns a string value representing the material properties in the specified WireframeMaterial object.
ReturnsString — A string.
|