Viewport.RotateCamera (Point, Point, Boolean) Method

Rotates the view simulating the movement between two mouse position.
Public Overridable Sub RotateCamera( _ 
ByVal mousePos1 As Point, _ 
ByVal mousePos2 As Point, _ 
ByVal animate As Boolean
)
This language is not supported or no code example is available.
public virtual void RotateCamera( 
Point mousePos1
Point mousePos2
bool animate 
)
This language is not supported or no code example is available.

Parameters

mousePos1
Point

The initial mouse position

mousePos2
Point

The final mouse position

animate
bool

If true performs an animation when changing the view

.NET Framework

Supported in: 4.8

In this article

Definition