Package | away3d.loaders |
Class | public class Kmz |
Property | Defined by | ||
---|---|---|---|
container : ObjectContainer3D
3d container object used for storing the parsed kmz scene.
| Kmz | ||
containerData : ContainerData
Container data object used for storing the parsed kmz data structure.
| Kmz | ||
materialLibrary : MaterialLibrary
Reference container for all materials used in the kmz scene.
| Kmz |
Method | Defined by | ||
---|---|---|---|
Kmz
(datastream:ByteArray, init:Object = null)
Creates a new
Kmz object. | Kmz | ||
[static]
Loads and parses a kmz file into a 3d container object.
| Kmz | ||
[static]
Creates a 3d container object from the raw binary data of a kmz file.
| Kmz |
container | property |
public var container:ObjectContainer3D
3d container object used for storing the parsed kmz scene.
containerData | property |
public var containerData:ContainerData
Container data object used for storing the parsed kmz data structure.
materialLibrary | property |
public var materialLibrary:MaterialLibrary
Reference container for all materials used in the kmz scene.
Kmz | () | constructor |
public function Kmz(datastream:ByteArray, init:Object = null)
Parameters
datastream:ByteArray — The binary zip data of a loaded file.
|
|
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
See also
load | () | method |
public static function load(url:String, init:Object = null):Object3DLoader
Loads and parses a kmz file into a 3d container object.
Parametersurl:String — The url location of the file to load.
|
|
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
Object3DLoader —
A 3d loader object that can be used as a placeholder in a scene while the file is loading.
|
parse | () | method |
public static function parse(data:*, init:Object = null, loader:Object3DLoader = null):ObjectContainer3D
Creates a 3d container object from the raw binary data of a kmz file.
Parametersdata:* — The birnay zip data of a loaded file.
|
|
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
|
loader:Object3DLoader (default = null ) — [optional] Not intended for direct use.
|
ObjectContainer3D —
A 3d container object representation of the kmz file.
|