Matrix.OrthoLH メソッドとは? わかりやすく解説

Matrix.OrthoLH メソッド

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

名前空間: Microsoft.WindowsMobile.DirectX
アセンブリ: Microsoft.WindowsMobile.DirectX (microsoft.windowsmobile.directx.dll 内)
構文構文

Public Shared Function OrthoLH
 ( _
    width As Single, _
    height As Single, _
    znearPlane As Single, _
    zfarPlane As Single _
) As Matrix
Dim width As Single
Dim height As Single
Dim znearPlane As Single
Dim zfarPlane As Single
Dim returnValue As Matrix

returnValue = Matrix.OrthoLH(width, height, znearPlane, zfarPlane)
public static Matrix OrthoLH (
    float width,
    float height,
    float znearPlane,
    float zfarPlane
)
public:
static Matrix OrthoLH (
    float width, 
    float height, 
    float znearPlane, 
    float zfarPlane
)
public static Matrix OrthoLH (
    float width, 
    float height, 
    float znearPlane, 
    float zfarPlane
)
public static function OrthoLH
 (
    width : float, 
    height : float, 
    znearPlane : float, 
    zfarPlane : float
) : Matrix

パラメータ

width

ビュー ボリュームの幅。

height

ビュー ボリュームの高さ。

znearPlane

ビュー ボリュームの最小 z 値。近 z と呼びます。

zfarPlane

ビュー ボリュームの最大 z 値。遠 z と呼びます。

戻り値
左手座標系直交射影行列である Matrix 構造体。

解説解説

直交行列は、反転可能な行列です。この行列の反転は転置と同じです。

OrthoLH メソッドのすべてのパラメータは、カメラ空間内の距離です。パラメータは、ビュー ボリュームの大きさを示します。

このメソッドは、返す行列を次の数式によって計算します。

2/width    0         0                                  0
0          2/height  0                                  0
0          0         1/(zfarPlane-znearPlane)           0
0          0         znearPlane/(znearPlane-zfarPlane)  1
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

Matrix.OrthoLH メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Matrix.OrthoLH メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS