Packageorg.ffilmation.engine.events
Classpublic class fNewMaterialEvent
InheritancefNewMaterialEvent Inheritance flash.events.Event

The fNewMaterial event class stores information about a NEWMATERIAL event.

This event is by a plane when it gets assigned a new material using the assignMaterial() method

See also

org.ffilmation.engine.core.fPlane.assignMaterial()


Public Methods
 MethodDefined by
  
fNewMaterialEvent(type:String, id:String, width:Number = 1, height:Number = -1)
Constructor for the fNewMaterial class.
fNewMaterialEvent
Constructor detail
fNewMaterialEvent()constructor
public function fNewMaterialEvent(type:String, id:String, width:Number = 1, height:Number = -1)

Constructor for the fNewMaterial class.

Parameters
type:String — The type of the event. Event listeners can access this information through the inherited type property.
 
id:String — Id for the new material
 
width:Number (default = 1) — Width of the plane where the material was assigned
 
height:Number (default = -1) — Height of the plane where the material was assigned