Click or drag to resize
ViewportInfoGetCameraFrame Method
Gets location and vectors of this camera.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool GetCameraFrame(
	out Point3d location,
	out Vector3d cameraX,
	out Vector3d cameraY,
	out Vector3d cameraZ
)

Parameters

location
Type: Rhino.GeometryPoint3d
An out parameter that will be filled with a point during the call.
cameraX
Type: Rhino.GeometryVector3d
An out parameter that will be filled with the X vector during the call.
cameraY
Type: Rhino.GeometryVector3d
An out parameter that will be filled with the Y vector during the call.
cameraZ
Type: Rhino.GeometryVector3d
An out parameter that will be filled with the Z vector during the call.

Return Value

Type: Boolean
true if current camera orientation is valid; otherwise false.
See Also