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)
Since: 5.0

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.
