VectorQuaternionMultiply2

Multiplies two quaternions; the order matters.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathSSE.h"

Syntax

VectorRegister VectorQuaternionMultiply2
(
    const VectorRegister & Quat1,
    const VectorRegister & Quat2
)

Remarks

Multiplies two quaternions; the order matters.

Order matters when composing quaternions: C = VectorQuaternionMultiply2(A, B) will yield a quaternion C = A * B that logically first applies B then A to any subsequent transformation (right first, then left).

Returns

Quat1 * Quat2

Parameters

Parameter

Description

Quat1

Pointer to the first quaternion

Quat2

Pointer to the second quaternion

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