2027 Class
Changes 0
C

Camera

Description:
A collection of camera settings for the current view.
Remarks:
The current Camera can be obtained from DrawContext
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.DirectContext3D.Camera
public class Camera : IDisposable
Name Return Type Description Inherited From
C Camera(Camera) None Camera
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the Camera
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M Transform(Transform) None Transforms the camera
Name Return Type Description Inherited From
P EyePosition XYZ Camera's position in the world
P FarDistance double Distance to far clipping plane
P HorizontalExtent double Horizontal extent of the camera's view, measured at target distance.
P HorizontalOffset double Horizontal offset of the camera's view center from target, measured at target distance.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P NearDistance double Distance to near clipping plane
P ProjectionMethod ProjectionMethod Projection method
P TargetDistance double Distance from camera to its target
P UpDirection XYZ Up direction of the camera
P VerticalExtent double Vertical extent of the camera's view, measured at target distance.
P VerticalOffset double Vertical offset of the camera's view center from target, measured at target distance.
P ViewDirection XYZ Direction that the camera is facing