| 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 | ||
![]() |
Calls begin method of the MaterialAttributes associated with this material.
| Material | |
![]() |
Calls finish method of the MaterialAttributes associated with this material.
| Material | |
![]() |
Calls init method of the MaterialAttributes associated with this material.
| Material | |
![]() |
Renders the polygon dress in this material.
| Material | |
![]() |
Renders the sprite dress in this material.
| Material | |
![]() |
Calls unlink method of the MaterialAttributes associated with this material.
| Material | |
| 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.
|
|
p_nColor:uint (default = 0) — The color of the lines.
|
|
p_nAlpha:Number (default = 1) — The alpha transparency value of the material.
|
|
p_oAttr:MaterialAttributes (default = null) — The attributes for this material.
|
See also