CameraInfo
Description:
An object holding information about the projection mapping of a 3D view.
An object holding information about the projection mapping of a 3D view.
Remarks:
CameraInfo can be obtained directly from a ViewNode If camera info is not available, an orthographic view should be assumed.
See also: [!:Autodesk::Revit::DB::IExportContext::OnViewBegin].
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.CameraInfo
System.Object
Autodesk.Revit.DB.CameraInfo
public class CameraInfo : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| Name | Return Type | Description |
|---|---|---|
| FarDistance | double | Distance from eye point to far plane of view frustum along the view direction. |
| HorizontalExtent | double | Distance between left and right planes on the target plane. |
| IsPerspective | bool | Identifies whether the projection is orthographic or perspective |
| IsPespective | bool | Identifies whether the projection is orthographic or perspective |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| NearDistance | double | Distance from eye point to near plane of view frustum along the view direction. |
| RightOffset | double | Distance that the target plane is offset towards the right where right is normal to both Up direction and View direction. This offset shifts both left and right planes. |
| TargetDistance | double | Distance from eye point along view direction to target plane. |
| UpOffset | double | Distance that the target plane is offset in the direction of the Up direction. This offset shifts both top and bottom planes. |
| VerticalExtent | double | Distance between top and bottom planes on the target plane. |