报错信息
TypeError: this.textures[e].bindStateChange is not a function
代码
let scene3D = new Scene3D()
let skyTexture = Engine3D.res.loadLDRTextureCube('/mg.jpg');
let sky = scene3D.addComponent(SkyRenderer)
sky.map = skyTexture;
scene3D.envMap = skyTexture;
报错信息 TypeError: this.textures[e].bindStateChange is not a function
代码
我是想试一下自定义全景图天空,按照官网的代码写的,但是报错了