首页 / 浏览问题 / 三维GIS / 问题详情
webgl三维地图喷泉
121EXP 2019年10月09日

http://support.supermap.com.cn:8090/webgl/examples/editor.html#Particle%20System_fountain

喷泉这个例子中

viewer.scene.preUpdate.addEventListener(function (scene, time) {
            particleSystem.modelMatrix = computeModelMatrix(entity, time);
            // Account for any changes to the emitter model matrix.
            particleSystem.emitterModelMatrix = computeEmitterModelMatrix();
        });

viewer.scene.preUpdate在我这里是undefined 找不到 这个是什么意思 需要哪些js?

1个回答

直接引入require.min.js和jquery.min.js就可以了。

这个应该是版本的问题,请问您使用的是什么版本的webgl呢?
6,215EXP 2019年10月09日
912版本的
...