| Package | sandy.materials |
| Class | public class OutlineMaterial |
| Inheritance | OutlineMaterial Material |
| Subclasses | CelShadeMaterial |
Material which draws only the external edges of the shape
| Method | Defined by | ||
|---|---|---|---|
|
OutlineMaterial(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1, p_oAttr:MaterialAttributes = null)
Creates a new OutlineMaterial.
| OutlineMaterial | ||
![]() |
Not used in this version of Sandy.
| Material | |
|
Renders this material on the face it dresses.
| OutlineMaterial | ||
| OutlineMaterial | () | constructor |
public function OutlineMaterial(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1, p_oAttr:MaterialAttributes = null)Creates a new OutlineMaterial.
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) |
| 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
|