GeometryLoader

new GeometryLoader(manager?)
THREE: THREE.BufferGeometryLoader

Loads Geometry from JSON files containing attributes and optional index data.

Methods

MethodDescription
load(url: string, onLoad?: Function, onProgress?: Function, onError?: Function): void

Fetches JSON and passes the parsed Geometry to onLoad.

parse(json: object): Geometry

Parses a JSON object with attributes and optional index into a Geometry.