@worldmatrix/wmx-three
v0.1.0
Published
Three.js WMX loader for selecting and loading WorldMatrix variants.
Downloads
2,838
Maintainers
Readme
@worldmatrix/wmx-three
Three.js loader wrapper for loading WorldMatrix manifests and variants.
Install
npm install @worldmatrix/wmx-three threeUsage
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
import { WMXLoader } from '@worldmatrix/wmx-three';
const loader = new WMXLoader(new GLTFLoader());
const gltf = await loader.load('/wmx/my-asset/asset.wmx.json', { quality: 'medium' });