RhinoCommon API
ViewportInfoGetCameraFrame Method |
Gets location and vectors of this camera.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool GetCameraFrame( out Point3d location, out Vector3d cameraX, out Vector3d cameraY, out Vector3d cameraZ )
Public Function GetCameraFrame ( <OutAttribute> ByRef location As Point3d, <OutAttribute> ByRef cameraX As Vector3d, <OutAttribute> ByRef cameraY As Vector3d, <OutAttribute> ByRef cameraZ As Vector3d ) As Boolean
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: Booleantrue if current camera orientation is valid; otherwise false.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8