Packageaway3d.materials
Classpublic class WireColorMaterial
ImplementsITriangleMaterial

Wire material for solid color drawing with optional face border outlining

Public Properties
 PropertyDefined by
  alpha : Number
Determines the alpha value of the material
WireColorMaterial
  color : int
Determines the color value of the material
WireColorMaterial
  visible : Boolean
[read-only] Indicates whether the material is visible
WireColorMaterial
  width : Number
Determines the wire width
WireColorMaterial
  wirealpha : Number
Determines the alpha value of the border wire
WireColorMaterial
  wirecolor : int
Determines the color value of the border wire
WireColorMaterial
Protected Properties
 PropertyDefined by
  ini : Init
Instance of the Init object used to hold and parse default property values specified by the initialiser object in the 3d object constructor.
WireColorMaterial
Public Methods
 MethodDefined by
  
WireColorMaterial
(color:* = null, init:Object = null)
Creates a new WireColorMaterial object.
WireColorMaterial
  
Sends data from the material coupled with data from the DrawTriangle primitive to the render session.
WireColorMaterial
Property detail
alphaproperty
public var alpha:Number

Determines the alpha value of the material

colorproperty 
public var color:int

Determines the color value of the material

iniproperty 
protected var ini:Init

Instance of the Init object used to hold and parse default property values specified by the initialiser object in the 3d object constructor.

visibleproperty 
visible:Boolean  [read-only]

Indicates whether the material is visible

Implementation
    public function get visible():Boolean
widthproperty 
public var width:Number

Determines the wire width

wirealphaproperty 
public var wirealpha:Number

Determines the alpha value of the border wire

wirecolorproperty 
public var wirecolor:int

Determines the color value of the border wire

Constructor detail
WireColorMaterial()constructor
public function WireColorMaterial(color:* = null, init:Object = null)Parameters
color:* (default = null) — A string, hex value or colorname representing the color of the material.
 
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
####INIT####
Method detail
renderTriangle()method
public function renderTriangle(tri:DrawTriangle):void

Sends data from the material coupled with data from the DrawTriangle primitive to the render session.

Parameters
tri:DrawTriangle
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments