Packageaway3dlite.materials
Classpublic class WireframeMaterial
InheritanceWireframeMaterial Inheritance Material Inheritance flash.events.EventDispatcher

Outline material.

Public Properties
 PropertyDefined by
  alpha : Number
Defines the transparency of the outline.
WireframeMaterial
  color : uint
Defines the color of the outline.
WireframeMaterial
 Inheriteddebug : Boolean
Switches on the debug outlines around each face drawn with the material.
Material
Public Methods
 MethodDefined by
  
WireframeMaterial
(color:int = 0xFFFFFF, alpha:Number = 1)
Creates a new WireframeMaterial object.
WireframeMaterial
Events
 EventSummaryDefined by
 Inherited Dispatched when the material becomes visible in a view.Material
 Inherited Dispatched when the material becomes invisible in a view.Material
Property detail
alphaproperty
alpha:Number  [read-write]

Defines the transparency of the outline.

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
colorproperty 
color:uint  [read-write]

Defines the color of the outline.

Implementation
    public function get color():uint
    public function set color(value:uint):void
Constructor detail
WireframeMaterial()constructor
public function WireframeMaterial(color:int = 0xFFFFFF, alpha:Number = 1)Parameters
color:int (default = 0xFFFFFF) — The color of the outline.
 
alpha:Number (default = 1) — The transparency of the outline.
Init Parameters
Wiki link
Click to go to the wiki page for 'away3dlite.materials.WireframeMaterial'

Code examples

Comments