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