Perspective |
The PerspectiveCamera type exposes the following members.
Name | Description | |
---|---|---|
Distance |
Gets the distance of the camera from the target position.
(Inherited from CameraBase) | |
EyePosition |
Gets the camera position, the so-called eye position.
(Inherited from CameraBase) | |
InverseLookAtRHMatrix |
Gets the inverse LookAtRH matrix. This matrix transforms a point from the camera coordinate system to the world coordinate system, i.e. the point (0,0,0) is transformed to (CameraPosition.X, CameraPosition.Y, CameraPosition.Z).
(Inherited from CameraBase) | |
LookAtRHMatrix |
Returns the same matrix that the Direct3D function LookAtRH would provide.
(Inherited from CameraBase) | |
RightVectorPerpendicularToEyeVectorNormalized |
Gets the normalized right vector, that is made perpendicular to the eye vector.
(Inherited from CameraBase) | |
ScreenOffset |
Gets the screen offset. 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) | |
TargetPosition |
Gets the position the camera is looking at.
(Inherited from CameraBase) | |
TargetToEyeVector |
Gets the eye vector, i.e. the vector pointing from target to the camera eye.
(Inherited from CameraBase) | |
TargetToEyeVectorNormalized |
Gets the normalized eye vector, i.e. the vector pointing from target to the camera eye.
(Inherited from CameraBase) | |
UpVector |
Gets the camera up vector.
(Inherited from CameraBase) | |
UpVectorPerpendicularToEyeVectorNormalized |
Gets the normalized up vector, that is made perpendicular to the eye vector.
(Inherited from CameraBase) | |
WidthAtTargetDistance |
Gets the width of the view field at target distance. For this perspective camera, it is WidthAtZNear multiplied with the Distance divided by ZNear.
(Overrides CameraBaseWidthAtTargetDistance) | |
WidthAtZNear |
Gets the width of the view field at ZNear distance.
(Inherited from CameraBase) | |
ZFar |
Gets the maximum distance the camera is 'seeing' something. Objects farther away than this distance (from the camera) will not be visible.
(Inherited from CameraBase) | |
ZNear |
Gets the minimum distance the camera is 'seeing' something. Objects closer than this distance (from the camera) will not be visible.
(Inherited from CameraBase) |