RhinoCommon API
RhinoViewportSetCameraLocations Method |
Set viewport camera location and target location. The camera direction vector is
changed so that it is parallel to the vector from the camera location to
the target location.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public void SetCameraLocations( Point3d targetLocation, Point3d cameraLocation )
Public Sub SetCameraLocations ( targetLocation As Point3d, cameraLocation As Point3d )
Parameters
- targetLocation
- Type: Rhino.GeometryPoint3d
new target location. - cameraLocation
- Type: Rhino.GeometryPoint3d
new camera location.

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