Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorQuaternionInverseRotateVec-
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathVectorCommon.h |
| Include | #include "Math/UnrealMathVectorCommon.h" |
VectorRegister4Float VectorQuaternionInverseRotateVector
(
const VectorRegister4Float & Quat,
const VectorRegister4Float & VectorW0
)
Remarks
Rotate a vector using the inverse of a unit Quaternion (rotation in the opposite direction). Vector after rotation by the inverse of Quat.
Parameters
| Name | Description |
|---|---|
| Quat | Unit Quaternion to use for rotation. |
| VectorW0 | Vector to rotate. W component must be zero. |