Package | away3d.materials |
Class | public class WireColorMaterial |
Inheritance | WireColorMaterial WireframeMaterial Material flash.events.EventDispatcher |
Subclasses | ColorMaterial |
Property | Defined By | ||
---|---|---|---|
alpha : Number
Determines the alpha value of the material
| WireColorMaterial | ||
color : uint
24 bit color value representing the material color
| WireColorMaterial | ||
id : int [read-only]
Unique identifier
| Material | ||
thickness : Number
Determines the thickness value of the wire
| WireframeMaterial | ||
visible : Boolean [override] [read-only]
Indicates whether the material is visible
| WireColorMaterial | ||
wireAlpha : Number
Determines the alpha value of the wire
| WireframeMaterial | ||
wireColor : uint
24 bit color value representing the wire color
| WireframeMaterial |
Property | Defined By | ||
---|---|---|---|
_alpha : Number | WireColorMaterial | ||
_color : uint | WireColorMaterial | ||
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. | WireframeMaterial | ||
_thickness : Number | WireframeMaterial | ||
_wireAlpha : Number | WireframeMaterial | ||
_wireColor : uint = 0x0 | WireframeMaterial |
Method | Defined By | ||
---|---|---|---|
WireColorMaterial(color:* = null, init:Object = null)
Creates a new WireColorMaterial object. | WireColorMaterial | ||
addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
| Material | ||
[override]
Duplicates the material properties to another material object. | WireColorMaterial | ||
removeOnMaterialUpdate(listener:Function):void
Default method for removing a materialupdated event listener
| Material |
_alpha | property |
protected var _alpha:Number
_color | property |
protected var _color:uint
alpha | property |
alpha:Number
Determines the alpha value of the material
public function get alpha():Number
public function set alpha(value:Number):void
color | property |
color:uint
24 bit color value representing the material color
public function get color():uint
public function set color(value:uint):void
visible | property |
visible:Boolean
[read-only] [override] Indicates whether the material is visible
public function get visible():Boolean
WireColorMaterial | () | Constructor |
public function WireColorMaterial(color:* = null, init:Object = null)
Creates a new WireColorMaterial
object.
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.
|
clone | () | method |
override public function clone(material:Material = null):Material
Duplicates the material properties to another material object. Usage: existingMaterial = materialToClone.clone( existingMaterial ) as WireColorMaterial;
Parameters
material:Material (default = null ) — [optional] The new material instance into which all properties are copied. The default is WireColorMaterial .
|
Material — The new material instance with duplicated properties applied.
|