-
-
Notifications
You must be signed in to change notification settings - Fork 662
Manual Control Rotation Point
Lunci edited this page Jun 1, 2018
·
1 revision
Camera rotation point by default is using Camera.Position + Camera.LookDirection
as rotation target. However, this is not accurate and not desirable if you are designing an application such as Model Viewer which sets rotation point as the center of the model.
In order to decouple the rotation points from camera, HelixToolkit viewport provides a FixedRotationPoint
and FixedRotationPointEnabled
property. Once set FixedRotationPointEnabled = true
, the FixedRotationPoint
will be used as rotation point no matter where camera is looking at.
Note: This is not applicable under CameraMode = WalkAround
.