Vector3::Transform Method (Vector3, Matrix4x4)

Transforms a vector by a specified 4x4 matrix.

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

public:
static Vector3 Transform(
	Vector3 position, 
	Matrix4x4 matrix
)

Parameters

position
Type: System.Numerics::Vector3

The vector to transform.

matrix
Type: System.Numerics::Matrix4x4

The transformation matrix.

Return Value

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