RhinoCommon API
RhinoViewportKeyboardRotate Method |
Emulates the keyboard arrow key in terms of interaction.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool KeyboardRotate( bool leftRight, double angleRadians )
Public Function KeyboardRotate ( leftRight As Boolean, angleRadians As Double ) As Boolean
Parameters
- leftRight
- Type: SystemBoolean
left/right rotate if true, up/down rotate if false. - angleRadians
- Type: SystemDouble
If less than 0, rotation is to left or down. If greater than 0, rotation is to right or up.
Return Value
Type: Booleantrue if operation succeeded; otherwise false.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8