Packageaway3d.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
  
getGeometry(name:String):GeometryData
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
Wiki link
Click to go to the wiki page for 'away3d.loaders.utils.GeometryLibrary'

Code examples
There are currently no examples for this class

Comments
No comments found
Please leave a comment

Please leave a comment

security image