1.0.0 • Published 2 years ago

@zycx/three-legacyjson-loader v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
2 years ago

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) => {
  // ...
})