Click or drag to resize

Vector2Transform(Vector2, Quaternion) Method

Creates a new Vector2 that contains a transformation of 2d-vector by the specified Quaternion, representing the rotation.

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntax
public static Vector2 Transform(
	Vector2 value,
	Quaternion rotation
)

Parameters

value  Vector2
Source Vector2.
rotation  Quaternion
The Quaternion which contains rotation transformation.

Return Value

Vector2
Transformed Vector2.
See Also