| Package | away3d.loaders.utils |
| Class | public dynamic class GeometryLibrary |
| Inheritance | GeometryLibrary flash.utils.Dictionary |
| Property | Defined by | ||
|---|---|---|---|
| name : String
The name of the geometry used as a unique reference.
| GeometryLibrary | ||
| Method | Defined by | ||
|---|---|---|---|
|
Adds a geometry name reference to the library.
| GeometryLibrary | ||
|
Returns a geometry data object for the given name reference in the library.
| GeometryLibrary | ||
|
getGeometryArray():Array
Returns an array of all geometries.
| GeometryLibrary | ||
| name | property |
public var name:String
The name of the geometry used as a unique reference.
| addGeometry | () | method |
public function addGeometry(name:String, geoXML:XML = null, ctrlXML:XML = null):GeometryData
Adds a geometry name reference to the library.
Parametersname:String |
|
geoXML:XML (default = null) |
|
ctrlXML:XML (default = null) |
GeometryData |
| getGeometry | () | method |
public function getGeometry(name:String):GeometryData
Returns a geometry data object for the given name reference in the library.
Parametersname:String |
GeometryData |
| getGeometryArray | () | method |
public function getGeometryArray():Array
Returns an array of all geometries.
ReturnsArray |