AnsweredAssumed Answered

How can I lock the heading on a SceneView camera?

Question asked by on Jun 10, 2016
Latest reply on Nov 26, 2019 by rfmiller_USGS

For ease of use, I'd like to lock the heading on the SceneView camera to North (0) and disable the right mouse button (rotate heading and pitch) features.


I've managed to lock the heading by capturing the CameraChanged event


MySceneView.CameraChanged += MySceneView_CameraChanged;


and forcing the heading to 0




But, this disables the momentum effect.


Also, how do I disable the right mouse button handling.


Thanks in advance