Vector2Transform(Vector2, Quaternion, Vector2) Method |
Creates a new
Vector2 that contains a transformation of 2d-vector by the specified
Quaternion, representing the rotation.
Namespace: CFX.Structures.GeometryAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static void Transform(
ref Vector2 value,
ref Quaternion rotation,
out Vector2 result
)
Public Shared Sub Transform (
ByRef value As Vector2,
ByRef rotation As Quaternion,
<OutAttribute> ByRef result As Vector2
)
Parameters
- value Vector2
- Source Vector2.
- rotation Quaternion
- The Quaternion which contains rotation transformation.
- result Vector2
- Transformed Vector2 as an output parameter.
See Also