When I upload the 3dtile to Cesium, I need to wait for the tileset to finish loading before I can move the camera to the model, my method is as follows:
tileset.await.then(function (tileset) {
viewer.zoomTo(tileset);
}).catch(function (error) {
console.error('Error: ', error);
});
but problem is that Uncaught TypeError: Cannot read properties of undefined (reading ‘then’)
Who was able to give the correct code, thanks