1.0.0 • Published 5 years ago
@zycx/three-legacyjson-loader v1.0.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) => {
// ...
})
1.0.0
5 years ago