2023 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
C Camera(Camera) None Camera
Name Return Type Description
M Dispose() None Releases all resources used by the
M Transform(Transform) None Transforms the camera
Name Return Type Description
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 bool 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