Package | away3d.events |
Class | public class MaterialEvent |
Inheritance | MaterialEvent flash.events.Event |
Property | Defined by | ||
---|---|---|---|
extra : Object
A reference to a user defined extra object that is relevant to the event.
| MaterialEvent | ||
material : Material
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 | ||
---|---|---|---|
LOAD_ERROR : String = "loadError" [static]
Defines the value of the type property of a loadError event object.
| MaterialEvent | ||
LOAD_PROGRESS : String = "loadProgress" [static]
Defines the value of the type property of a loadProgress event object.
| MaterialEvent | ||
LOAD_SUCCESS : String = "loadSuccess" [static]
Defines the value of the type property of a loadSuccess event object.
| MaterialEvent | ||
MATERIAL_CHANGED : String = "materialChanged" [static]
Defines the value of the type property of a materialChanged event object.
| MaterialEvent | ||
MATERIAL_UPDATED : String = "materialUpdated" [static]
Defines the value of the type property of a materialUpdated 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:Material
A reference to the material object that is relevant to the event.
MaterialEvent | () | constructor |
public function MaterialEvent(type:String, material:Material)
Parameters
type:String — The type of the event. Possible values are: MaterialEvent.RESIZED .
|
|
material:Material — 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 |
LOAD_ERROR | constant |
public static const LOAD_ERROR:String = "loadError"
Defines the value of the type property of a loadError event object.
LOAD_PROGRESS | constant |
public static const LOAD_PROGRESS:String = "loadProgress"
Defines the value of the type property of a loadProgress event object.
LOAD_SUCCESS | constant |
public static const LOAD_SUCCESS:String = "loadSuccess"
Defines the value of the type property of a loadSuccess event object.
MATERIAL_CHANGED | constant |
public static const MATERIAL_CHANGED:String = "materialChanged"
Defines the value of the type property of a materialChanged event object.
MATERIAL_UPDATED | constant |
public static const MATERIAL_UPDATED:String = "materialUpdated"
Defines the value of the type property of a materialUpdated event object.