why “environmentTexture” is not written into “AssetContainer”?
...
this._scene.environmentTexture = task.texture;
...
var keepAssets = new KeepAssets();
keepAssets.cameras.push(this.camera);
this.containerSceneMain.moveAllFromScene(keepAssets);
AssetContainer.prototype.moveAllFromScene = function (keepAssets) {
this._wasAddedToScene = false;
if (keepAssets === undefined) {
keepAssets = new KeepAssets();
}
for (var key in this) {
if (this.hasOwnProperty(key)) {
this[key] = this[key] || (key === "environmentTexture" ? null : []); <--------- ???????????????
this._moveAssets(this.scene[key], this[key], keepAssets[key]);
}
}
this.removeAllFromScene();
};