Package | twaver.threed.event |
Class | public class ModelLoadEvent |
Inheritance | ModelLoadEvent ![]() |
Property | Defined By | ||
---|---|---|---|
cause : *
Describes the url of the external model file when a loading error occurs,
or describes the cause of the error when parsing a external model file. | ModelLoadEvent | ||
elementId : *
The id of the element which is represented by the external model file. | ModelLoadEvent |
Method | Defined By | ||
---|---|---|---|
ModelLoadEvent(type:String, id:*, cause:* = null)
Construct function of ModelLoadEvent class. | ModelLoadEvent |
Constant | Defined By | ||
---|---|---|---|
LOAD_ERROR : String = ext.model.error [static]
The type of a ModelLoadEvent. | ModelLoadEvent | ||
LOAD_PROGRESS : String = ext.model.progress [static]
The type of a ModelLoadEvent. | ModelLoadEvent | ||
LOAD_SUCCESS : String = ext.model.loaded [static]
The type of a ModelLoadEvent. | ModelLoadEvent |
cause | property |
public var cause:*
Describes the url of the external model file when a loading error occurs, or describes the cause of the error when parsing a external model file.
elementId | property |
public var elementId:*
The id of the element which is represented by the external model file.
ModelLoadEvent | () | Constructor |
public function ModelLoadEvent(type:String, id:*, cause:* = null)
Construct function of ModelLoadEvent class.
Parameterstype:String | |
id:* | |
cause:* (default = null )
|
LOAD_ERROR | Constant |
public static const LOAD_ERROR:String = ext.model.error
The type of a ModelLoadEvent. Defines that an error occurs when loading an external model file.
LOAD_PROGRESS | Constant |
public static const LOAD_PROGRESS:String = ext.model.progress
The type of a ModelLoadEvent. Defines the loading is in progress.
LOAD_SUCCESS | Constant |
public static const LOAD_SUCCESS:String = ext.model.loaded
The type of a ModelLoadEvent. Defines the loading progress is finished without any error.