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

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

Matrix.Transformation2D メソッド

xy 平面に 2-D 変換行列を作成します。

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

Public Shared Function Transformation2D
 ( _
    scalingCenter As Vector2, _
    scalingRotation As Single, _
    scaling As Vector2, _
    rotationCenter As Vector2, _
    rotation As Single, _
    translation As Vector2 _
) As Matrix
Dim scalingCenter As Vector2
Dim scalingRotation As Single
Dim scaling As Vector2
Dim rotationCenter As Vector2
Dim rotation As Single
Dim translation As Vector2
Dim returnValue As Matrix

returnValue = Matrix.Transformation2D(scalingCenter, scalingRotation, scaling, rotationCenter,
 rotation, translation)
public static Matrix Transformation2D (
    Vector2 scalingCenter,
    float scalingRotation,
    Vector2 scaling,
    Vector2 rotationCenter,
    float rotation,
    Vector2 translation
)
public:
static Matrix Transformation2D (
    Vector2 scalingCenter, 
    float scalingRotation, 
    Vector2 scaling, 
    Vector2 rotationCenter, 
    float rotation, 
    Vector2 translation
)
public static Matrix Transformation2D (
    Vector2 scalingCenter, 
    float scalingRotation, 
    Vector2 scaling, 
    Vector2 rotationCenter, 
    float rotation, 
    Vector2 translation
)
public static function Transformation2D
 (
    scalingCenter : Vector2, 
    scalingRotation : float, 
    scaling : Vector2, 
    rotationCenter : Vector2, 
    rotation : float, 
    translation : Vector2
) : Matrix

パラメータ

scalingCenter

スケーリングの中心を示すポイントである Vector2 構造体。

scalingRotation

スケール回転ファクタ。回転しないことを指定するには、0 を使用します。

scaling

スケールを識別するポイントである Vector2 構造体。スケーリングしないことを指定するには、Empty を使用します。

rotationCenter

回転の中心を示すポイントである Vector2 構造体。

rotation

回転角度 (ラジアン単位)。

translation

平行移動を識別する Vector2 構造体。平行移動しないことを指定するには、Empty を使用します。

戻り値
変換行列を格納する Matrix 構造体。

解説解説

Transformation2D メソッドは、左から右に評価される行列連結を使った次の数式によって、アフィン変換行列を計算します。

M out = (M sc )-1 * (M sr )-1 * M s * M sr * M sc * (M rc )-1 * M r * M rc * M t

指定項目 :

3-D 変換の場合は、Transformation を使用します。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2026 GRAS Group, Inc.RSS