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
public class Camera : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Camera(Camera) | None | Camera |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| Transform(Transform) | None | Transforms the camera |
| Name | Return Type | Description |
|---|---|---|
| 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 | bool | 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 |