Windows apps
Collapse the table of content
Expand the table of content

Vector4::Transform Method (Vector3, Matrix4x4)

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

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

public:
static Vector4 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::Vector4
The transformed vector.
Show:
© 2017 Microsoft