Viewport.SetView (Vector3D, Vector3D, Boolean, Boolean, Int32, Boolean) Method
Parameters
- direction
- Vector3D
The new camera direction
- upVector
- Vector3D
The camera up vector
- fit
- bool
if true fits the scene in the viewport
- animate
- bool
If true performs an animation when changing the view
- margin
- int
Pixels margin from the border, if fit is true
- selectedOnly
- bool
If fit is true, fits only the selected entities
The direction points outside the screen, so the Camera is actually looking in the opposite direction.