GeometryLoader Class
Geometry loader can be used to load geometry files.
Methods
load
(
-
url -
onLoad -
onProgress -
onError
Load geometry json file from URL.
Parameters:
-
urlString -
onLoadFunction -
onProgressFunction -
onErrorFunction
parse
(
Geometry
-
json
Parse geometry json.
Parameters:
-
jsonObject
Returns:
Geometry:
Geometry loaded from json.
setImages
(
-
images
Set list of images to be used by the loader.
Parameters:
-
imagesArray
setShapes
(
-
shapes
Set list of shapes to be used by this loader.
Parameters:
-
shapesArray
