Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Three.js 取消下载jsonLoader&;ImageUtils.loadTexture_Three.js - Fatal编程技术网

Three.js 取消下载jsonLoader&;ImageUtils.loadTexture

Three.js 取消下载jsonLoader&;ImageUtils.loadTexture,three.js,Three.js,如何取消对象或纹理的下载 THREE.ImageUtils.loadTexture(... jsonLoader.load(... 哎呀,它不是内置的 您可以编辑类(或创建自己的类),使load()函数返回XMLHttpRequest。这将允许您调用它的abort()函数

如何取消对象或纹理的下载

THREE.ImageUtils.loadTexture(...

jsonLoader.load(...

哎呀,它不是内置的

您可以编辑类(或创建自己的类),使
load()
函数返回
XMLHttpRequest
。这将允许您调用它的
abort()
函数