More complex demonstration of XRef importing feature for dynamically changed object.
- Alarm clock is imported from single FBX file,
- XRef binding is defined in Object3D.userData,
- Clock hands and body are separate XRef objects, - makes it possible to combine them with individually defined transforms.
Usage of XRefs gives the advantage in case when three.js imports heavy models. On the demo alarm clock model is ~10MB FBX file, yet it takes milliseconds to start render job, because XRef replicas are available on server side.