Packageaway3dlite.loaders.utils
Classpublic dynamic class GeometryLibrary
InheritanceGeometryLibrary Inheritance flash.utils.Dictionary

Store for all geometries associated with an externally loaded file.



Public Properties
 PropertyDefined By
  name : String
The name of the geometry used as a unique reference.
GeometryLibrary
Public Methods
 MethodDefined By
  
addGeometry(name:String, geoXML:XML = null, ctrlXML:XML = null):GeometryData
Adds a geometry name reference to the library.
GeometryLibrary
  
Returns a geometry data object for the given name reference in the library.
GeometryLibrary
  
Returns an array of all geometries.
GeometryLibrary
Property Detail
nameproperty
public var name:String

The name of the geometry used as a unique reference.

Method Detail
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)

Returns
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

Returns
GeometryData
getGeometryArray()method 
public function getGeometryArray():Array

Returns an array of all geometries.

Returns
Array