Interactions with Viewport3D
There are many kinds of user interactions supported in HelixViewport3D (WPF) and Viewport3DX (SharpDX) by default. They can be enabled and disabled with corresponding properties of the control:
- Rotate:
IsRotationEnabled
- Move:
IsMoveEnabled
- Pan:
IsPanEnabled
- Zoom:
IsZoomEnabled
- Change field of view:
IsChangeFieldOfViewEnabled
- Keyboard
Left
andRight
to rotate left and right - Keyboard
Up
andDown
to rotate up and down - Mouse right key dragging
If CameraMode
is set to Inspect
, the operation rotates the camera around its target or FixedRotationPoint
.
If CameraMode
is set to FixedPosition
, the operation rotates the camera around the position of the camera.
- Keyboard W and S to move back and forth
- Keyboard A and D to move left and right
- Keyboard Q and Z to move up and down
- Shift + mouse right key dragging
The operations moves the camera horizontally and vertically (like scrolling in a web page)
- Mouse wheel scrolling
- Ctrl + mouse right key dragging
If The operation moves the camera closer to or further from the model. It makes no effect if CameraMode
is set to FixedPosition
.
- Alt + mouse right key dragging
This operation changes the field of view of the camera while moving it back and forth. The size of the model is not changed much, but the distortion level of the view changes.
There may be more interactions not covered in this page.