Skip to content

GeometryLoader

new GeometryLoader(manager?)

THREE equivalent: THREE.BufferGeometryLoader

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

Method Description
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.