Packageaway3dlite.materials
Classpublic class Material
InheritanceMaterial Inheritance flash.events.EventDispatcher
SubclassesBitmapMaterial, 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
 EventSummaryDefined 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  [read-write]

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() Init Parameters
Event detail
materialActivatedevent 
Event object type: away3dlite.events.MaterialEvent

Dispatched when the material becomes visible in a view.

materialDeactivatedevent  
Event object type: away3dlite.events.MaterialEvent

Dispatched when the material becomes invisible in a view.

Wiki link
Click to go to the wiki page for 'away3dlite.materials.Material'

Code examples

Comments