Packageaway3dlite.materials
Classpublic class WireColorMaterial
InheritanceWireColorMaterial Inheritance ColorMaterial Inheritance Material Inheritance flash.events.EventDispatcher

Color material with an outline.

Public Properties
 PropertyDefined by
 Inheritedalpha : Number
Defines the transparency of the material.
ColorMaterial
 Inheritedcolor : uint
Defines the color of the material.
ColorMaterial
 Inheriteddebug : Boolean
Switches on the debug outlines around each face drawn with the material.
Material
  thickness : Number
Defines the thickness of the outline.
WireColorMaterial
  wireAlpha : Number
Defines the transparency of the outline.
WireColorMaterial
  wireColor : uint
Defines the color of the outline.
WireColorMaterial
Public Methods
 MethodDefined by
  
WireColorMaterial
(color:* = null, alpha:Number = 1, wireColor:Number = null, wireAlpha:Number = 1, thickness:* = 1)
Creates a new WireColorMaterial object.
WireColorMaterial
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
thicknessproperty
thickness:Number  [read-write]

Defines the thickness of the outline.

Implementation
    public function get thickness():Number
    public function set thickness(value:Number):void
wireAlphaproperty 
wireAlpha:Number  [read-write]

Defines the transparency of the outline.

Implementation
    public function get wireAlpha():Number
    public function set wireAlpha(value:Number):void
wireColorproperty 
wireColor:uint  [read-write]

Defines the color of the outline.

Implementation
    public function get wireColor():uint
    public function set wireColor(value:uint):void
Constructor detail
WireColorMaterial()constructor
public function WireColorMaterial(color:* = null, alpha:Number = 1, wireColor:Number = null, wireAlpha:Number = 1, thickness:* = 1)Parameters
color:* (default = null) — The color of the material.
 
alpha:Number (default = 1) — The transparency of the material.
 
wireColor:Number (default = null) — The color of the outline.
 
wireAlpha:Number (default = 1) — The transparency of the outline.
 
thickness:* (default = 1) — The thickness of the outline.
Init Parameters
Wiki link
Click to go to the wiki page for 'away3dlite.materials.WireColorMaterial'

Code examples

Comments