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 | ||
---|---|---|---|
MaterialEvent(type:String, material:Material)
Creates a new MaterialEvent object. | MaterialEvent | ||
clone():Event [override]
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)
Creates a new MaterialEvent
object.
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 |
override public 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.