RVTDocs.com
Namespace: Autodesk.Revit.DB

CameraInfo

Class
Description:
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
Syntax
public class CameraInfo : IDisposable
CameraInfo Class Members:
Name Description Inherited From
FarDistance Distance from eye point to far plane of view frustum along the view direction.
HorizontalExtent Distance between left and right planes on the target plane.
IsPerspective Identifies whether the projection is orthographic or perspective
IsPespective Identifies whether the projection is orthographic or perspective
IsValidObject Specifies whether the .NET object represents a valid Revit entity.
NearDistance Distance from eye point to near plane of view frustum along the view direction.
RightOffset 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 Distance from eye point along view direction to target plane.
UpOffset Distance that the target plane is offset in the direction of the Up direction. This offset shifts both top and bottom planes.
VerticalExtent Distance between top and bottom planes on the target plane.
Name Description Inherited From
Dispose Releases all resources used by the CameraInfo
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetType Gets the Type of the current instance. (Inherited from Object ) Object
ToString Returns a string that represents the current object. (Inherited from Object ) Object