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

Vector4::Transform Method (Vector3, Quaternion)

Transforms a three-dimensional vector by the specified Quaternion rotation value.

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

public:
static Vector4 Transform(
	Vector3 value, 
	Quaternion rotation
)

Parameters

value
Type: System.Numerics::Vector3

The vector to rotate.

rotation
Type: System.Numerics::Quaternion

The rotation to apply.

Return Value

Type: System.Numerics::Vector4
The transformed vector.
Show:
© 2017 Microsoft