ICamera Properties |
The ICamera type exposes the following members.
Name | Description | |
---|---|---|
AspectRatio | Gets or sets the camera's aspect ratio - calculated as viewport's width / height. | |
FarPlaneDistance | Gets or sets a value that specifies the distance from the camera of the camera's far clip plane. By default NearPlaneDistance is automatically calculated from the 3D scene bounding box and camera position. This can be disabled by manually setting the value of this property or by setting IsAutomaticFarPlaneDistanceCalculation to false. | |
Name | Gets the name of the camera | |
NearPlaneDistance | Gets or sets a value that specifies the distance from the camera of the camera's near clip plane. By default NearPlaneDistance is automatically calculated from the 3D scene bounding box and camera position. This can be disabled by manually setting the value of this property or by setting IsAutomaticNearPlaneDistanceCalculation to false. | |
ProjectionType | Gets or sets the type of projection (Perspective or Orthographic) | |
SceneView | Gets the SceneView that this camera belongs to. This property is set from the SceneView when the camera is assigned to its Camera property. | |
Version | Gets the version number of this Camera. Version is increased each time the camera is changed. This can be used to check if the camera was changed between two points in time. Note: When camera is changed a lot of times, the Version value can overflow from positive to negative numbers (to prevent problems do not check for bigger value but for not equal value) |