RhinoCommon API
ViewportInfoRotateCamera Method |
Rotates the view camera.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0

public bool RotateCamera( double rotationAngleRadians, Vector3d rotationAxis, Point3d rotationCenter )
Public Function RotateCamera ( rotationAngleRadians As Double, rotationAxis As Vector3d, rotationCenter As Point3d ) As Boolean
Parameters
- rotationAngleRadians
- Type: SystemDouble
The amount to rotate expressed in radians. - rotationAxis
- Type: Rhino.GeometryVector3d
The axis to rotate around. - rotationCenter
- Type: Rhino.GeometryPoint3d
The point to rotate around.
Return Value
Type: BooleanTrue if rotation is successful, false otherwise.
