Skip to content

CameraInfo

Public Class

An object holding information about the projection mapping of a 3D view.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.CameraInfo

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class CameraInfo : IDisposable

The CameraInfo type exposes the following members.

Properties

Name

Description


Public Property
FarDistance

Distance from eye point to far plane of view frustum along the view direction.


Public Property

Distance between left and right planes on the target plane.


Public Property

Identifies whether the projection is orthographic or perspective


Public Property

Identifies whether the projection is orthographic or perspective


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property
NearDistance

Distance from eye point to near plane of view frustum along the view direction.


Public Property

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.


Public Property
TargetDistance

Distance from eye point along view direction to target plane.


Public Property

Distance that the target plane is offset in the direction of the Up direction. This offset shifts both top and bottom planes.


Public Property

Distance between top and bottom planes on the target plane.


Methods

Name

Description


Public Method

Releases all resources used by the CameraInfo


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

CameraInfo can be obtained directly from a ViewNode If camera info is not available, an orthographic view should be assumed.

See also:

.