VectorQuaternionInverseRotateVector

Rotate a vector using the inverse of a unit Quaternion (rotation in the opposite direction).

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathVectorCommon.h

Include

#include "Math/UnrealMathVectorCommon.h"

Syntax

VectorRegister VectorQuaternionInverseRotateVector
(
    const VectorRegister & Quat,
    const VectorRegister & VectorW0
)

Remarks

Rotate a vector using the inverse of a unit Quaternion (rotation in the opposite direction).

Returns

Vector after rotation by the inverse of Quat.

Parameters

Parameter

Description

Quat

Unit Quaternion to use for rotation.

VectorW0

Vector to rotate. W component must be zero.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss