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

Vector3::Transform Method (Vector3, Quaternion)

Transforms a vector by the specified Quaternion rotation value.

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

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