Package | away3dlite.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_ACTIVATED : String = "materialActivated" [static]
Defines the value of the type property of a materialActivated event object.
| MaterialEvent | ||
MATERIAL_CHANGED : String = "materialChanged" [static]
Defines the value of the type property of a materialChanged event object.
| MaterialEvent | ||
MATERIAL_DEACTIVATED : String = "materialDeactivated" [static]
Defines the value of the type property of a materialDeactivated 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_ACTIVATED | constant |
public static const MATERIAL_ACTIVATED:String = "materialActivated"
Defines the value of the type property of a materialActivated 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_DEACTIVATED | constant |
public static const MATERIAL_DEACTIVATED:String = "materialDeactivated"
Defines the value of the type property of a materialDeactivated event object.
MATERIAL_UPDATED | constant |
public static const MATERIAL_UPDATED:String = "materialUpdated"
Defines the value of the type property of a materialUpdated event object.