Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / RotateCamera Method / RotateCamera(Point,Point,Boolean) Method
The initial mouse position
The final mouse position
If true performs an animation when changing the view

In This Topic
    RotateCamera(Point,Point,Boolean) Method
    In This Topic
    Rotates the view simulating the movement between two mouse position.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub RotateCamera( _
       ByVal mousePos1 As Point, _
       ByVal mousePos2 As Point, _
       ByVal animate As Boolean _
    ) 
    public virtual void RotateCamera( 
       Point mousePos1,
       Point mousePos2,
       bool animate
    )

    Parameters

    mousePos1
    The initial mouse position
    mousePos2
    The final mouse position
    animate
    If true performs an animation when changing the view
    See Also