Click or drag to resize

RhinoViewportSetViewProjection Method

Sets the viewport camera projection.

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

Parameters

projection
Type: Rhino.DocObjectsViewportInfo
The "standard" projection type.
updateTargetLocation
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.5
See Also