# Vector2.Transform メソッド

## 定義

ベクトルを変換します。Transforms a vector.

## オーバーロード

 Transform(Vector2, Matrix3x2) 指定した 3 x 2 行列でベクトルを変換します。Transforms a vector by a specified 3x2 matrix. Transform(Vector2, Matrix4x4) 指定した 4 x 4 行列でベクトルを変換します。Transforms a vector by a specified 4x4 matrix. Transform(Vector2, Quaternion) 指定した四元数回転値によって、ベクトルを変換します。Transforms a vector by the specified Quaternion rotation value.

## Transform(Vector2, Matrix3x2)

``````public:
static System::Numerics::Vector2 Transform(System::Numerics::Vector2 position, System::Numerics::Matrix3x2 matrix);``````
``public static System.Numerics.Vector2 Transform (System.Numerics.Vector2 position, System.Numerics.Matrix3x2 matrix);``
``static member Transform : System.Numerics.Vector2 * System.Numerics.Matrix3x2 -> System.Numerics.Vector2``
``Public Shared Function Transform (position As Vector2, matrix As Matrix3x2) As Vector2``

position
Vector2

matrix
Matrix3x2

Vector2

## Transform(Vector2, Matrix4x4)

``````public:
static System::Numerics::Vector2 Transform(System::Numerics::Vector2 position, System::Numerics::Matrix4x4 matrix);``````
``public static System.Numerics.Vector2 Transform (System.Numerics.Vector2 position, System.Numerics.Matrix4x4 matrix);``
``static member Transform : System.Numerics.Vector2 * System.Numerics.Matrix4x4 -> System.Numerics.Vector2``
``Public Shared Function Transform (position As Vector2, matrix As Matrix4x4) As Vector2``

position
Vector2

matrix
Matrix4x4

Vector2

## Transform(Vector2, Quaternion)

``````public:
static System::Numerics::Vector2 Transform(System::Numerics::Vector2 value, System::Numerics::Quaternion rotation);``````
``public static System.Numerics.Vector2 Transform (System.Numerics.Vector2 value, System.Numerics.Quaternion rotation);``
``static member Transform : System.Numerics.Vector2 * System.Numerics.Quaternion -> System.Numerics.Vector2``
``Public Shared Function Transform (value As Vector2, rotation As Quaternion) As Vector2``

value
Vector2

rotation
Quaternion

Vector2