Vector4::Transform Method (Vector2, Matrix4x4)

Transforms a two-dimensional vector by a specified 4x4 matrix.

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

public:
static Vector4 Transform(
	Vector2 position, 
	Matrix4x4 matrix
)

Parameters

position
Type: System.Numerics::Vector2

The vector to transform.

matrix
Type: System.Numerics::Matrix4x4

The transformation matrix.

Return Value

Type: System.Numerics::Vector4
The transformed vector.
Show: