new GlobeFactory()
Methods
-
<static> create(type, options)
-
Creates a specific globe based on its type (e.g sky, planet).
Parameters:
Name Type Description type
GLOBE the type of globe options
AbstractGlobe.configuration options to configure a globe Throws:
-
Will throw an error when the type is not part of GLOBE
- Type
- RangeError
Returns:
a globe- Type
- Globe
-