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.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
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