GeometryLoader Class

Module: Loaders

Geometry loader can be used to load geometry files.

Constructor

GeometryLoader

(
  • manager
)

Parameters:

  • manager Object

Item Index

Methods

Methods

load

(
  • url
  • onLoad
  • onProgress
  • onError
)

Load geometry json file from URL.

Parameters:

  • url String
  • onLoad Function
  • onProgress Function
  • onError Function

parse

(
  • json
)
Geometry

Parse geometry json.

Parameters:

  • json Object

Returns:

Geometry:

Geometry loaded from json.