How to get screen mode when change 2d to 3d.
Is it possible via below code?
Cesium.knockout.getObservable(viewer.scene, 'SceneMode').subscribe(function(any) {
console.log(any.name);
});
Hi there,
Checkout the morphComplete Event in scene: https://cesiumjs.org/Cesium/Build/Documentation/Scene.html?classFilter=scene#morphComplete
You can subscribe to that event to listen to scene mode changes.
Hope that helps,
- Rachel