Packageaway3dlite.materials
Classpublic class Material
InheritanceMaterial Inheritance flash.events.EventDispatcher
Subclasses BitmapMaterial, ColorMaterial, WireframeMaterial

Base material class.



Public Properties
 PropertyDefined By
  debug : Boolean
Switches on the debug outlines around each face drawn with the material.
Material
Public Methods
 MethodDefined By
  
Creates a new Material object.
Material
Events
 Event Summary Defined By
  Dispatched when the material becomes visible in a view.Material
  Dispatched when the material becomes invisible in a view.Material
Property Detail
debugproperty
debug:Boolean

Switches on the debug outlines around each face drawn with the material. Defaults to false.


Implementation
    public function get debug():Boolean
    public function set debug(value:Boolean):void
Constructor Detail
Material()Constructor
public function Material()

Creates a new Material object.

####INIT####
Event Detail
materialActivated Event
Event Object Type: away3dlite.events.MaterialEvent
MaterialEvent.type property = away3dlite.events.MaterialEvent

Dispatched when the material becomes visible in a view.

materialDeactivated Event  
Event Object Type: away3dlite.events.MaterialEvent
MaterialEvent.type property = away3dlite.events.MaterialEvent

Dispatched when the material becomes invisible in a view.