GLTFDracoMeshCompressionExtension constructor
GLTFDracoMeshCompressionExtension(
- dynamic json,
- dynamic dracoLoader
Implementation
GLTFDracoMeshCompressionExtension(json, dracoLoader) {
if (dracoLoader == null) {
throw ('THREE.GLTFLoader: No DRACOLoader instance provided.');
}
this.json = json;
this.dracoLoader = dracoLoader;
this.dracoLoader.preload();
}