GeometryLoader Class
Geometry loader can be used to load geometry files.
Methods
load
(
-
url
-
onLoad
-
onProgress
-
onError
Load geometry json file from URL.
Parameters:
-
url
String -
onLoad
Function -
onProgress
Function -
onError
Function
parse
(
Geometry
-
json
Parse geometry json.
Parameters:
-
json
Object
Returns:
Geometry:
Geometry loaded from json.
setImages
(
-
images
Set list of images to be used by the loader.
Parameters:
-
images
Array
setShapes
(
-
shapes
Set list of shapes to be used by this loader.
Parameters:
-
shapes
Array