Click or drag to resize

RhinoViewportSetViewProjection Method

Sets the viewport camera projection.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool SetViewProjection(
	ViewportInfo projection,
	bool updateTargetLocation


Type: Rhino.DocObjectsViewportInfo
The "standard" projection type.
Type: SystemBoolean
if true, the target location is changed so that the vector from the camera location to the target is parallel to the camera direction vector. If false, the target location is not changed.

Return Value

Type: Boolean
true on success.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also