Click or drag to resize

ViewportInfoGetCameraFrame Method

Gets location and vectors of this camera.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also