Packageaway3d.materials
Classpublic class LayerMaterial
InheritanceLayerMaterial Inheritance ColorMaterial Inheritance WireColorMaterial Inheritance WireframeMaterial Inheritance Material Inheritance flash.events.EventDispatcher
Subclasses AbstractShader, BitmapMaterial

Basic bitmap material



Public Properties
 PropertyDefined By
 Inheritedalpha : Number
Determines the alpha value of the material
WireColorMaterial
 Inheritedcolor : uint
24 bit color value representing the material color
WireColorMaterial
 Inheriteddebug : Boolean
Toggles debug mode: textured triangles are drawn with white outlines, precision correction triangles are drawn with blue outlines.
ColorMaterial
 Inheritedid : int
[read-only] Unique identifier
Material
 Inheritedthickness : Number
Determines the thickness value of the wire
WireframeMaterial
 Inheritedvisible : Boolean
[override] [read-only] Indicates whether the material is visible
WireColorMaterial
 InheritedwireAlpha : Number
Determines the alpha value of the wire
WireframeMaterial
 InheritedwireColor : uint
24 bit color value representing the wire color
WireframeMaterial
Protected Properties
 PropertyDefined By
 Inherited_alpha : Number
WireColorMaterial
 Inherited_color : uint
WireColorMaterial
 Inherited_debug : Boolean
ColorMaterial
 Inheritedini : 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
 Inherited_thickness : Number
WireframeMaterial
 Inherited_wireAlpha : Number
WireframeMaterial
 Inherited_wireColor : uint = 0x0
WireframeMaterial
Public Methods
 MethodDefined By
  
LayerMaterial(init:Object = null)
Creates a new LayerMaterial object.
LayerMaterial
 Inherited
addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
Material
 Inherited
clone(material:Material = null):Material
[override] Duplicates the material properties to another material object.
ColorMaterial
 Inherited
removeOnMaterialUpdate(listener:Function):void
Default method for removing a materialupdated event listener
Material
Protected Methods
 MethodDefined By
 Inherited
WireframeMaterial
Events
 Event Summary Defined By
 InheritedDispatched when the any visual aspect of the material changes.Material
Constructor Detail
LayerMaterial()Constructor
public function LayerMaterial(init:Object = null)

Creates a new LayerMaterial object.

Parameters
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
####INIT####