AnsweredAssumed Answered

How can I lock the heading on a SceneView camera?

Question asked by dhope@ara.com on Jun 10, 2016

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

 

MySceneView.SetView(MySceneView.Camera.SetHeading(0));

 

But, this disables the momentum effect.

 

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

 

Thanks in advance

Outcomes