XMMatrixOrthographicLH

左手座標系の正射影行列を作成します。

構文

XMMATRIX XMMatrixOrthographicLH(         FLOAT ViewWidth,         FLOAT ViewHeight,         FLOAT NearZ,         FLOAT FarZ)

パラメーター

  • ViewWidth
    [in] 近くのクリップ面の視錐台の幅
  • ViewHeight
    [in] 近くのクリップ面の視錐台の高さ
  • NearZ
    [in] 近くのクリップ面の奥行き
  • FarZ
    [in] 遠方のクリップ面の奥行き

戻り値

正射影行列を返します。

解説 

XMMatrixOrthographicLH のパラメーターはすべて、カメラ空間での距離です。

要件

ヘッダー: xnamath.h で宣言されています。

関連項目

XMMatrixOrthographicRH