Camera.ComputeWithMouseInput Method
Parent Object: CameraDescription
Method that changes the view according mouse movement and view operation.
Syntax
Camera.ComputeWithMouseInput( FromPoint As Point2d, ToPoint As Point2d, WheelDelta As Long, ViewOperation As ViewOperationTypeEnum )Parameters
Name | Type | Description |
FromPoint | Point2d | Input point that specifies the starting point from which to move the view. |
ToPoint | Point2d | Input point that specifies the destination to which to move the view. |
WheelDelta | Long | Input Long that specifies the number of clicks (to zoom in or out) that have been made with the center mouse wheel. The WheelDelta is for the middle button wheel on the mouse. We use that for zoom in/out. The WheelDelta should represent the number of clicks that have been made with the wheel. |
ViewOperation | ViewOperationTypeEnum | Input constant that specifies the type of view operation (pan, rotate, or zoom). |