npm.io
1.0.0 • Published 7 years ago

@zycx/three-legacyjson-loader

Licence
ISC
Version
1.0.0
Deps
0
Size
23 kB
Vulns
0
Weekly
0

three-legacyjson-loader

LegacyJSONLoader is not the default loader of Three.js This is nodeJs wrapper for LegacyJSONLoader library.

Install

npm i @zycx/three-legacyjson-loader

USAGE

import * as THREE from 'three'
import LegacyJSONLoader from '@zycx/three-legacyjson-loader'
LegacyJSONLoader(THREE)

const loader = new THREE.LegacyJSONLoader()
loader.load(url, (geometry, material) => {
  // ...
})

Keywords