Package | away3dlite.materials |
Class | public class BitmapFileMaterial |
Inheritance | BitmapFileMaterial BitmapMaterial Material flash.events.EventDispatcher |
Method | Defined by | ||
---|---|---|---|
BitmapFileMaterial
(url:String = "")
Creates a new
BitmapFileMaterial object. | BitmapFileMaterial |
Event | Summary | Defined by | ||
---|---|---|---|---|
Dispatched when the material fails to load a file. | BitmapFileMaterial | |||
Dispatched every frame the material is loading. | BitmapFileMaterial | |||
Dispatched when the material completes a file load successfully. | BitmapFileMaterial | |||
Dispatched when the material becomes visible in a view. | Material | |||
Dispatched when the material becomes invisible in a view. | Material |
BitmapFileMaterial | () | constructor |
public function BitmapFileMaterial(url:String = "")
Parameters
url:String (default = " ") — The location of the bitmapasset to load.
|
loadError | event |
away3dlite.events.MaterialEvent
Dispatched when the material fails to load a file.
loadProgress | event |
loadSuccess | event |
away3dlite.events.MaterialEvent
Dispatched when the material completes a file load successfully.