|
@@ -103,18 +103,21 @@ Object.assign( THREE.XHRLoader.prototype, {
|
|
setPath: function ( value ) {
|
|
setPath: function ( value ) {
|
|
|
|
|
|
this.path = value;
|
|
this.path = value;
|
|
|
|
+ return this;
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
setResponseType: function ( value ) {
|
|
setResponseType: function ( value ) {
|
|
|
|
|
|
this.responseType = value;
|
|
this.responseType = value;
|
|
|
|
+ return this;
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
setWithCredentials: function ( value ) {
|
|
setWithCredentials: function ( value ) {
|
|
|
|
|
|
this.withCredentials = value;
|
|
this.withCredentials = value;
|
|
|
|
+ return this;
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|