Click or drag to resize
Ab4d.SharpEngine logo

ICamera Properties

The ICamera type exposes the following members.

Properties
 NameDescription
Public propertyAspectRatio Gets or sets the camera's aspect ratio - calculated as viewport's width / height.
Public propertyFarPlaneDistance 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.
Public propertyName Gets the name of the camera
Public propertyNearPlaneDistance 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.
Public propertyProjectionType Gets or sets the type of projection (Perspective or Orthographic)
Public propertySceneView Gets the SceneView that this camera belongs to. This property is set from the SceneView when the camera is assigned to its Camera property.
Public propertyVersion 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)
Top
See Also