Microsoft DirectX 8.0 (Visual Basic) |
D3DXMatrixPerspectiveRH( _ MOut As D3DMATRIX, _ w As Single, _ h As Single, _ zn As Single, _ zf As Single)
失敗した場合はエラーが発生し、Err.Number に次のいずれかの値が設定される。
D3DERR_INVALIDCALL |
D3DERR_OUTOFVIDEOMEMORY |
エラー トラッピングの詳細については、Microsoft® Visual Basic® の「エラー処理」を参照すること。
D3DXMatrixPerspectiveRH 関数のパラメータはすべて、カメラ空間の距離である。このパラメータは、ビュー ボリュームのディメンジョンを記述する。
D3DXMatrixPerspectiveLH、D3DXMatrixPerspectiveFovRH、D3DXMatrixPerspectiveFovLH、D3DXMatrixPerspectiveOffCenterRH、D3DXMatrixPerspectiveOffCenterLH