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: OnViewBegin(ViewNode).
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.CameraInfo
System.Object
Autodesk.Revit.DB.CameraInfo
public class CameraInfo : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the CameraInfo | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| 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 | Boolean | 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. |