Click or drag to resize
RhinoViewportSetViewProjection Method
Sets the viewport camera projection.

Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
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.
See Also