D3DXMatrixPerspectiveFovLH
This function builds a left-handed perspective projection matrix based on a field of view (FOV).
D3DXMATRIX* D3DXMatrixPerspectiveFovLH(
D3DXMATRIX* pOut,
FLOAT fovy,
FLOAT Aspect,
FLOAT zn,
FLOAT zf
);
Parameters
- pOut
[in, out] Pointer to the D3DXMATRIX structure that is the result of the operation. - fovy
[in] Field of view, in radians. - Aspect
[in] Aspect ratio. - zn
[in] Z-value of the near view-plane. - zf
[in] Z-value of the far view-plane.
Return Values
Pointer to a D3DXMATRIX structure that is a left-handed perspective projection matrix.
Remarks
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXMatrixPerspectiveFovLH function can be used as a parameter for another function.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: D3dx8math.h.
Link Library: D3dx8.lib.
See Also
D3DXMatrixPerspectiveOffCenterLH | D3DXMATRIX
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.