| Package | sandy.materials |
| Class | public final class WireFrameMaterial |
| Inheritance | WireFrameMaterial Material |
This material is used to represent a kind a naked view of a Shape3D. It shows all the edges with a certain thickness, color and alpha that you can specify inside the constructor
| Method | Defined by | ||
|---|---|---|---|
|
WireFrameMaterial(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1, p_oAttr:MaterialAttributes = null)
Creates a new WireFrameMaterial.
| WireFrameMaterial | ||
![]() |
Not used in this version of Sandy.
| Material | |
|
Renders this material on the face it dresses.
| WireFrameMaterial | ||
| WireFrameMaterial | () | constructor |
public function WireFrameMaterial(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1, p_oAttr:MaterialAttributes = null)Creates a new WireFrameMaterial.
Parametersp_nThickness:uint (default = 1) — The thickness of the lines - Default 1
|
|
p_nColor:uint (default = 0) — The color of the lines - Default 0
|
|
p_nAlpha:Number (default = 1) — The alpha value in percent of full opacity ( 0 - 1 )
|
|
p_oAttr:MaterialAttributes (default = null) — The attributes for this material
|
| renderPolygon | () | method |
public override function renderPolygon(p_oScene:Scene3D, p_oPolygon:Polygon, p_mcContainer:Sprite):voidRenders this material on the face it dresses.
Parametersp_oScene:Scene3D — The current scene
|
|
p_oPolygon:Polygon — The face to be rendered
|
|
p_mcContainer:Sprite — The container to draw on
|