| Package | sandy.materials.attributes |
| Class | public final class VertexNormalAttributes |
| Inheritance | VertexNormalAttributes LineAttributes AAttributes |
Developed originally for a debug purpose, this class allows you to create some special effects, displaying the normal of each vertex.
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number
Indicates the alpha transparency value of the line.
| LineAttributes | |
![]() | color : Number
The line color.
| LineAttributes | |
![]() | flags : uint
Returns the specific flags of this attribute.
| AAttributes | |
| length : Number
The line length.
| VertexNormalAttributes | ||
![]() | modified : Boolean
Whether the attribute has been modified since it's last render.
| LineAttributes | |
![]() | thickness : Number
The line thickness.
| LineAttributes | |
| Method | Defined by | ||
|---|---|---|---|
|
VertexNormalAttributes(p_nLength:Number = 10, p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1)
Creates a new VertexNormalAttributes object.
| VertexNormalAttributes | ||
![]() |
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 | |
| length | property |
length:Number [read-write]The line length.
Implementation public function get length():Number
public function set length(value:Number):void
| VertexNormalAttributes | () | constructor |
public function VertexNormalAttributes(p_nLength:Number = 10, p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1)Creates a new VertexNormalAttributes object.
Parametersp_nLength:Number (default = 10) — The length of the segment.
|
|
p_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.
|