Package | away3d.events |
Class | public class MaterialEvent |
Inheritance | MaterialEvent ![]() |
Property | Defined by | ||
---|---|---|---|
extra : Object
A reference to a user defined extra object that is relevant to the event.
| MaterialEvent | ||
material : IMaterial
A reference to the material object that is relevant to the event.
| MaterialEvent |
Method | Defined by | ||
---|---|---|---|
Creates a new
MaterialEvent object. | MaterialEvent | ||
clone():Event
Creates a copy of the MaterialEvent object and sets the value of each property to match that of the original.
| MaterialEvent |
Constant | Defined by | ||
---|---|---|---|
CHANGED : String = "materialchanged" [static]
Defines the value of the type property of a materialchanged event object.
| MaterialEvent | ||
RESIZED : String = "materialresize" [static]
Defines the value of the type property of a materialresize event object.
| MaterialEvent |
extra | property |
public var extra:Object
A reference to a user defined extra object that is relevant to the event.
material | property |
public var material:IMaterial
A reference to the material object that is relevant to the event.
MaterialEvent | () | constructor |
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.
|
clone | () | method |
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.
ReturnsEvent |
CHANGED | constant |
public static const CHANGED:String = "materialchanged"
Defines the value of the type property of a materialchanged event object.
RESIZED | constant |
public static const RESIZED:String = "materialresize"
Defines the value of the type property of a materialresize event object.