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

Parameters

targetLocation
Type: Rhino.GeometryPoint3d
new target location.
cameraLocation
Type: Rhino.GeometryPoint3d
new camera location.
See Also