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

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Matrix.OrthoOffCenterLH メソッドの意味・解説 

Matrix.OrthoOffCenterLH メソッド

カスタマイズした左手座標系直交射影行列を作成します。

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

Public Shared Function OrthoOffCenterLH
 ( _
    left As Single, _
    right As Single, _
    bottom As Single, _
    top As Single, _
    znearPlane As Single, _
    zfarPlane As Single _
) As Matrix
Dim left As Single
Dim right As Single
Dim bottom As Single
Dim top As Single
Dim znearPlane As Single
Dim zfarPlane As Single
Dim returnValue As Matrix

returnValue = Matrix.OrthoOffCenterLH(left, right, bottom, top, znearPlane, zfarPlane)
public static Matrix OrthoOffCenterLH (
    float left,
    float right,
    float bottom,
    float top,
    float znearPlane,
    float zfarPlane
)
public:
static Matrix OrthoOffCenterLH (
    float left, 
    float right, 
    float bottom, 
    float top, 
    float znearPlane, 
    float zfarPlane
)
public static Matrix OrthoOffCenterLH (
    float left, 
    float right, 
    float bottom, 
    float top, 
    float znearPlane, 
    float zfarPlane
)
public static function OrthoOffCenterLH
 (
    left : float, 
    right : float, 
    bottom : float, 
    top : float, 
    znearPlane : float, 
    zfarPlane : float
) : Matrix

パラメータ

left

ビュー ボリュームの最小 x 値。

right

ビュー ボリュームの最大 x 値。

bottom

ビュー ボリュームの最小 y 値。

top

ビュー ボリュームの最大 y 値。

znearPlane

ビュー ボリュームの最小 z 値。

zfarPlane

ビュー ボリュームの最大 z 値。

戻り値
カスタマイズした左手座標系直交射影行列である Matrix 構造体。

解説解説

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

OrthoLH メソッドは、OrthoOffCenterLH メソッドの特殊なケースです。OrthoOffCenterLH を使用して同じ射影を作成するには、left = –width/2、right = width/2、bottom = –height/2、および top = height/2 の各値を使用します。

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

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

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

Matrix.OrthoOffCenterLH メソッドのお隣キーワード

   

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



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

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

©2026 GRAS Group, Inc.RSS