Package | away3dlite.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 | ||
---|---|---|---|
addGeometry(name:String, geoXML:XML = null, ctrlXML:XML = null):GeometryData
Adds a geometry name reference to the library. | GeometryLibrary | ||
getGeometry(name:String):GeometryData
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.
Parameters
name: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.
Parameters
name:String |
GeometryData |
getGeometryArray | () | method |
public function getGeometryArray():Array
Returns an array of all geometries.
ReturnsArray |