Method GetViewCamera
GetViewCamera(DocumentId, int, out Point3D, out Direction3D, out Direction3D, out double, out double)
Gets the camera of a graphic view of a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 0, 0)]
void GetViewCamera(DocumentId inDocumentId, int inViewId, out Point3D outEyePosition, out Direction3D outLookAtDirection, out Direction3D outUpDirection, out double outFieldAngle, out double outFieldRadius)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to analyze. |
| int | inViewId | Identifier of the graphic view to analyze. |
| Point3D | outEyePosition | Position of the eye. |
| Direction3D | outLookAtDirection | Eye looking direction. |
| Direction3D | outUpDirection | Vertical upwards direction. |
| double | outFieldAngle | Field angle for perspective projection, or 0 if orthographic projection. |
| double | outFieldRadius | Field radius for orthographic projection, or distance between camera origin and projection plane if perspective projection. |
Remarks
This method is available since v7.7.