clearMemoryImmediately无效的问题

0 投票
let url3d = `**************`

            let config = {

                subdomainConfig: {

                    urlScheme: `******************`,

                    subdomains: ['*******:1443','*******:2443','*******:3443']//设置子域

                },

                name: "Config",

            }

            var promise = viewer.scene.addS3MTilesLayerByScp(url3d, config)

            // 单体化结束

            Cesium.when(promise, function (layer) {

                layer.clearMemoryImmediately = false

                layer.refresh();

            }, function (e) {

                if (widget._showRenderLoopErrors) {

                    var title = '加载SCP失败,请检查网络连接状态或者url地址是否正确?';

                    widget.showErrorPanel(title, undefined, e);

                }

            });
10月 27, 2021 分类:  66次浏览 | 用户: 郑文涛 (8 分)

1个回答

0 投票
您好,您是根据什么判断出来这个属性无效的呢?从您的问题中看不出来呢
10月 27, 2021 用户: 一班的小明 名扬四海 (1,374 分)

参考这个问题http://ask.supermap.com/45777?show=45794#a45794
三维模型渲染完移出可视范围后 再移回来  又重新请求加载

...