Package | org.papervision3d.materials.special |
Class | public class LineMaterial |
Inheritance | LineMaterial ![]() ![]() |
Implements | ILineDrawer |
Method | Defined by | ||
---|---|---|---|
LineMaterial(color:Number = 0xFF0000, alpha:Number = 100)
| LineMaterial | ||
![]() |
Creates a copy of the material.
| MaterialObject3D | |
![]() |
copy(material:MaterialObject3D):void
Copies the properties of a material.
| MaterialObject3D | |
LineMaterial | |||
![]() |
drawTriangle(face3D:Triangle3D, graphics:Graphics, renderSessionData:RenderSessionData, altBitmap:BitmapData = null, altUV:Matrix = null):void
drawTriangle();
Draws the triangle to screen.
| MaterialObject3D | |
![]() |
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 |
LineMaterial | () | constructor |
public function LineMaterial(color:Number = 0xFF0000, alpha:Number = 100)
Parameters
color:Number (default = 0xFF0000 )
|
|
alpha:Number (default = 100 )
|
drawLine | () | method |
public function drawLine(line:Line3D, graphics:Graphics, renderSessionData:RenderSessionData):void
Parameters
line:Line3D |
|
graphics:Graphics |
|
renderSessionData:RenderSessionData |