| Package | org.ffilmation.engine.events |
| Class | public class fNewMaterialEvent |
| Inheritance | fNewMaterialEvent 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
| Method | Defined by | ||
|---|---|---|---|
|
fNewMaterialEvent(type:String, id:String, width:Number = 1, height:Number = -1)
Constructor for the fNewMaterial class.
| fNewMaterialEvent | ||
| fNewMaterialEvent | () | constructor |
public function fNewMaterialEvent(type:String, id:String, width:Number = 1, height:Number = -1)Constructor for the fNewMaterial class.
Parameterstype: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
|