Click or drag to resize

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)
Syntax
public void SetCameraLocations(
	Point3d targetLocation,
	Point3d cameraLocation
)

Parameters

targetLocation
Type: Rhino.GeometryPoint3d
new target location.
cameraLocation
Type: Rhino.GeometryPoint3d
new camera location.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also