Perspective |
The PerspectiveCamera type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetHitRayMatrix | (Overrides CameraBaseGetHitRayMatrix(PointD3D)) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GetViewProjectionMatrix(Double) |
Gets the transposed result of LookAtRH matrix multiplied with the OrthoRH matrix.
(Overrides CameraBaseGetViewProjectionMatrix(Double)) | |
GetViewProjectionMatrix(Double, Double, Double, Double, Double) | Gets the transposed result of LookAtRH matrix multiplied with the OrthoRH matrix. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
WithDistanceByChangingEyePosition |
Gets a new camera with the distance between eye and target as provided in the argument distance.
The new distance is set by changing the eye position of the camera.
(Inherited from CameraBase) | |
WithEyeTarget |
Creates a new camera with provided eyePosition and targetPosition;
(Inherited from CameraBase) | |
WithEyeTargetWidth | Creates a new camera with provided eyePosition and targetPosition; | |
WithLookAtRHMatrix(Matrix4x3) |
Creates a new camera which has the LookAtRH matrix as provided in the argument. Up and eye vector as well as eye position are calculated from the provided matrix, the target position is in such a way calculated that the distance is kept constant.
(Inherited from CameraBase) | |
WithLookAtRHMatrix(Matrix4x3, Double) |
Creates a new camera which has the LookAtRH matrix as provided in the argument. Up and eye vector as well as eye position are calculated from the provided matrix, the target position is calculated from the eye vector and the provided newDistance value.
(Inherited from CameraBase) | |
WithScreenOffset |
Gets a new instance with ScreenOffset set to the provided value. The screen offset has to be used only in extraordinary situation, e.g. for shifting to simulate multisampling; or for shifting to center the exported bitmap.
It is not serialized either.
(Inherited from CameraBase) | |
WithUpEye |
Creates a new camera with provided upVector and eyePosition.
(Inherited from CameraBase) | |
WithUpEyeTarget |
Creates a new camera with provided upVector, eyePosition, targetPosition.
(Inherited from CameraBase) | |
WithUpEyeTargetZNearZFar |
Creates a new camera with provided upVector, eyePosition, targetPosition, znear and zfar distance..
(Inherited from CameraBase) | |
WithWidthAtZNear |
Gets a new instance of this camera, with WidthAtZNear set to the provided argument.
(Inherited from CameraBase) | |
WithZNearZFarWithoutChangingViewAngle |
Gets a new instance of the camera with ZNear and ZFar set to the provided values. The WidthAtTargetDistance is adjusted so that the view angle of the camera is not changed.
(Overrides CameraBaseWithZNearZFarWithoutChangingViewAngle(Double, Double)) | |
ZoomByGettingCloserToTarget | Zooms the view by moving the camera along the straigth line between camera and target position closer to the target, and then slightly rotate the camera so that the relative screen points rx and ry are matched before and after the zooming (for a point at the plane at camera distance). The target position itself is kept. | |
ZoomByMovingCameraForward | Zooms the view by moving the camera forward, i.e. by shifting both eye position and target position by the same amount, thus keeping the camera direction and the up vector constant. |