rotateCameraWorld Method
Rotate the camera from its current location about an axis in world coordinates.
rotateCameraWorld(angle: Angle, axis: Vector3d, aboutPt?: Point3d): ViewStatus
@returns Status indicating whether the camera was successfully positioned. See values at ViewStatus for possible errors.
Parameter | Type | Description |
---|---|---|
angle | Angle | The angle to rotate the camera. |
axis | Vector3d | The world-based axis (direction) about which to rotate the camera. |
aboutPt | Point3d | The point, in world coordinates, about which the camera is rotated. If aboutPt is undefined, the camera rotates in place (i.e. about the current eyePoint). |
Returns - ViewStatus
Status indicating whether the camera was successfully positioned. See values at ViewStatus for possible errors.
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.