Packagealternativa.engine3d.materials
Classpublic class WireMaterial
InheritanceWireMaterial Inheritance SurfaceMaterial Inheritance Material

Material for polygons' edges drawing.



Public Properties
 PropertyDefined by
 Inheritedalpha : Number
material opacity
Material
 InheritedblendMode : String
Color blending mode.
Material
  color : uint
Lines color.
WireMaterial
 Inheritedsurface : Surface
Surface material.
SurfaceMaterial
  thickness : Number
Lines thickness.
WireMaterial
Public Methods
 MethodDefined by
  
WireMaterial(thickness:Number = 0, color:uint = 0, alpha:Number = 1, blendMode:String)
Create an instance of class.
WireMaterial
  
Clone material.
WireMaterial
Protected Methods
 MethodDefined by
 Inherited
markToChange():void
Marks a material as changed, sending a signal to the scene.
SurfaceMaterial
Property detail
colorproperty
color:uint  [read-write]

Lines color.

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

Lines thickness. Lines are not drawn if thickness is negative.

Implementation
    public function get thickness():Number
    public function set thickness(value:Number):void
Constructor detail
WireMaterial()constructor
public function WireMaterial(thickness:Number = 0, color:uint = 0, alpha:Number = 1, blendMode:String)

Create an instance of class.

Parameters
thickness:Number (default = 0)wire lines thickness
 
color:uint (default = 0)wire lines color
 
alpha:Number (default = 1)wire lines transparency
 
blendMode:Stringcolor blending mode
Method detail
clone()method
public override function clone():Material

Clone material.

Returns
Materiala clone of the material object