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