Defines the type of projection used in a Direct3DRMViewport object. The IDirect3DRMViewport::GetProjection and IDirect3DRMViewport::SetProjection methods use this enumerated type. The right-hand types enable right-handed projection.
The axes of the camera (see IDirect3DRMFrame2::SetAxes) are used in both left-handed and right-handed projection to determine what direction the camera is facing.
typedef enum _D3DRMPROJECTIONTYPE{
D3DRMPROJECT_PERSPECTIVE,
D3DRMPROJECT_ORTHOGRAPHIC,
D3DRMPROJECT_RIGHTHANDPERSPECTIVE,
D3DRMPROJECT_RIGHTHANDORTHOGRAPHIC
} D3DRMPROJECTIONTYPE;
Values
The projection is perspective and left-handed.
The projection is orthographic and left-handed.
D3DRMPROJECT_RIGHTHANDPERSPECTIVE
The projection is perspective and right-handed.
D3DRMPROJECT_RIGHTHANDORTHOGRAPHIC
The projection is orthographic and right-handed.
See Also
IDirect3DRMViewport::GetProjection, IDirect3DRMViewport::SetProjection