Passed as a parameter when a material event occurs
public var extra:Object
A reference to a user defined extra object that is relevant to the event.
public var material:IMaterial
A reference to the material object that is relevant to the event.
public function MaterialEvent(type:String, material:IMaterial)
Parameters
| type:String — The type of the event. Possible values are: MaterialEvent.RESIZED.
|
| |
| material:IMaterial — A reference to the material object that is relevant to the event.
|
public override function clone():Event
Creates a copy of the MaterialEvent object and sets the value of each property to match that of the original.
Returns
public static const CHANGED:String = "materialchanged"
Defines the value of the type property of a materialchanged event object.
public static const RESIZED:String = "materialresize"
Defines the value of the type property of a materialresize event object.
There are currently no examples for this class
No comments found