| Package | sandy.materials.attributes |
| Class | public final class OutlineAttributes |
| Inheritance | OutlineAttributes AAttributes |
Each material can have an outline attribute to outline the whole 3D shape.
The OutlineAttributes class stores all the information to draw this outline shape
| Property | Defined by | ||
|---|---|---|---|
| alpha : Number
Indicates the alpha transparency value of the outline.
| OutlineAttributes | ||
| color : Number
The line color.
| OutlineAttributes | ||
![]() | flags : uint
Returns the specific flags of this attribute.
| AAttributes | |
| modified : Boolean
Whether the attribute has been modified since it's last render.
| OutlineAttributes | ||
| thickness : Number
The line thickness.
| OutlineAttributes | ||
| Method | Defined by | ||
|---|---|---|---|
|
OutlineAttributes(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1)
Creates a new OutlineAttributes object.
| OutlineAttributes | ||
![]() |
Method called before the display list rendering.
| AAttributes | |
![]() |
Draws attribute to the graphics object.
| AAttributes | |
![]() |
Applies attribute to a sprite.
| AAttributes | |
![]() |
Method called right after the display list rendering.
| AAttributes | |
![]() |
Allows to proceed to an initialization to know when the polyon isn't lined to the material.
| AAttributes | |
![]() |
Remove all the initialization (opposite of init).
| AAttributes | |
| alpha | property |
alpha:Number [read-write]Indicates the alpha transparency value of the outline. Valid values are 0 (fully transparent) to 1 (fully opaque).
The default value is 1.0.
public function get alpha():Number
public function set alpha(value:Number):void
| color | property |
color:Number [read-write]The line color.
Implementation public function get color():Number
public function set color(value:Number):void
| modified | property |
public var modified:BooleanWhether the attribute has been modified since it's last render.
| thickness | property |
thickness:Number [read-write]The line thickness.
Implementation public function get thickness():Number
public function set thickness(value:Number):void
| OutlineAttributes | () | constructor |
public function OutlineAttributes(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1)Creates a new OutlineAttributes object.
Parametersp_nThickness:uint (default = 1) — The line thickness.
|
|
p_nColor:uint (default = 0) — The line color.
|
|
p_nAlpha:Number (default = 1) — The alpha transparency value of the material.
|