Matrix3x2::CreateTranslation Method (Vector2)

Creates a translation matrix from the specified 2-dimensional vector.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static Matrix3x2 CreateTranslation(
	Vector2 position
)

Parameters

position
Type: System.Numerics::Vector2

The translation position.

Return Value

Type: System.Numerics::Matrix3x2
The translation matrix.
Show: