2024 Class
Changes 0
C

CameraInfo

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: [!:Autodesk::Revit::DB::IExportContext::OnViewBegin].

Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.CameraInfo
public class CameraInfo : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
Name Return Type Description
P FarDistance double Distance from eye point to far plane of view frustum along the view direction.
P HorizontalExtent double Distance between left and right planes on the target plane.
P IsPerspective bool Identifies whether the projection is orthographic or perspective
P IsPespective bool Identifies whether the projection is orthographic or perspective
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P NearDistance double Distance from eye point to near plane of view frustum along the view direction.
P 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.
P TargetDistance double Distance from eye point along view direction to target plane.
P UpOffset double Distance that the target plane is offset in the direction of the Up direction. This offset shifts both top and bottom planes.
P VerticalExtent double Distance between top and bottom planes on the target plane.