@zycx/three-legacyjson-loader
v1.0.0
Published
LegacyJSONLoader
Downloads
6
Maintainers
Readme
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-loaderUSAGE
import * as THREE from 'three'
import LegacyJSONLoader from '@zycx/three-legacyjson-loader'
LegacyJSONLoader(THREE)
const loader = new THREE.LegacyJSONLoader()
loader.load(url, (geometry, material) => {
// ...
})