VectorQuaternionInverseRotateVectorPtr

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

void VectorQuaternionInverseRotateVectorPtr
(
    void *RESTRICT Result,
    const void *RESTRICT Quat,
    const void *RESTRICT VectorW0
)

Remarks

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

Parameters

Parameter

Description

Result

Pointer to where the result should be stored

Quat

Pointer to the unit quaternion (must not be the destination)

VectorW0

Pointer to the vector (must not be the destination). 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