Package | away3d.materials |
Class | public class LayerMaterial |
Inheritance | LayerMaterial ColorMaterial WireColorMaterial WireframeMaterial Material flash.events.EventDispatcher |
Subclasses | AbstractShader, BitmapMaterial |
Method | Defined by | ||
---|---|---|---|
LayerMaterial
(init:Object = null)
Creates a new
LayerMaterial object. | LayerMaterial | ||
addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
| Material | ||
Duplicates the material properties to another material object.
| ColorMaterial | ||
removeOnMaterialUpdate(listener:Function):void
Default method for removing a materialupdated event listener
| Material |
LayerMaterial | () | constructor |
public function LayerMaterial(init:Object = null)
Parameters
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
color:Color (default = 0xFFFFFF) |